Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007326/0.0007326, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007601/0.0007601, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8886/0.8886, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001489/0.001489, allocations: 241.8 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6813/0.6813, allocations: 138.4 MB / 454.3 MB, free: 30.02 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Examples_RotateRectangle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Examples_RotateRectangle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.6462 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.133e-05, allocations: 9.172 kB / 0.6463 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.00187/0.001891, allocations: 1.556 MB / 0.6478 GB, free: 324 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2241/0.226, allocations: 0.6477 MB / 0.6484 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.818e-05/0.226, allocations: 1.062 kB / 0.6484 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002438/0.2263, allocations: 63.28 kB / 0.6485 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.000337/0.2266, allocations: 169.5 kB / 0.6486 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 1.131e-05/0.2266, allocations: 1.062 kB / 0.6486 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.2268, allocations: 187.4 kB / 0.6488 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.613e-05/0.2268, allocations: 8.453 kB / 0.6488 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/0.227, allocations: 119.2 kB / 0.6489 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.2272, allocations: 91.58 kB / 0.649 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.2272, allocations: 6.406 kB / 0.649 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000203/0.2274, allocations: 122.8 kB / 0.6491 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.85e-05/0.2275, allocations: 71.55 kB / 0.6492 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.18e-05/0.2275, allocations: 51.91 kB / 0.6493 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.2278, allocations: 254.6 kB / 0.6495 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2278, allocations: 0.8438 kB / 0.6495 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2278, allocations: 0.7188 kB / 0.6495 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.2278, allocations: 0.75 kB / 0.6495 GB, free: 55.83 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0003572/0.2282, allocations: 395.6 kB / 0.6499 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.2282, allocations: 15.88 kB / 0.6499 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.436e-05/0.2282, allocations: 57.06 kB / 0.6499 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/0.2284, allocations: 34.41 kB / 0.65 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.974e-05/0.2284, allocations: 124.2 kB / 0.6501 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.2285, allocations: 14.03 kB / 0.6501 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.2285, allocations: 11.75 kB / 0.6501 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000334/0.2288, allocations: 355.5 kB / 0.6505 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.2288, allocations: 192 / 0.6505 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.2288, allocations: 12.42 kB / 0.6505 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.773e-05/0.2289, allocations: 62.47 kB / 0.6505 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.2291, allocations: 226.9 kB / 0.6508 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008132/0.2299, allocations: 0.9566 MB / 0.6517 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.2301, allocations: 118 kB / 0.6518 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.266e-05/0.2302, allocations: 94.39 kB / 0.6519 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.2302, allocations: 2.812 kB / 0.6519 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.314e-05/0.2302, allocations: 38.73 kB / 0.6519 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=39): time 1.723e-06/0.2302, allocations: 0.6562 kB / 0.6519 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of matching and sorting (n=39): time 0.0003702/0.2306, allocations: 368.3 kB / 0.6523 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.968e-05/0.2306, allocations: 53.22 kB / 0.6523 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.921e-05/0.2307, allocations: 158.8 kB / 0.6525 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.2307, allocations: 30.72 kB / 0.6525 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.774e-05/0.2307, allocations: 152.5 kB / 0.6527 GB, free: 54.08 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/0.2308, allocations: 138.4 kB / 0.6528 GB, free: 53.99 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.255e-05/0.2308, allocations: 84.75 kB / 0.6529 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.638e-05/0.2309, allocations: 332.5 kB / 0.6532 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.552e-05/0.2309, allocations: 103.1 kB / 0.6533 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.2311, allocations: 232.5 kB / 0.6535 GB, free: 53.5 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002682/0.2313, allocations: 389.7 kB / 0.6539 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2313, allocations: 5 kB / 0.6539 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0003484/0.2317, allocations: 386.2 kB / 0.6543 GB, free: 53.15 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.2317, allocations: 7.469 kB / 0.6543 GB, free: 53.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.2317, allocations: 4.781 kB / 0.6543 GB, free: 53.15 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.2317, allocations: 5.156 kB / 0.6543 GB, free: 53.15 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.937e-05/0.2318, allocations: 37.94 kB / 0.6543 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.098e-06/0.2318, allocations: 12.41 kB / 0.6543 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.119e-05/0.2319, allocations: 44.64 kB / 0.6544 GB, free: 53.11 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.2319, allocations: 27.97 kB / 0.6544 GB, free: 53.11 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 20 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.587e-05/0.232, allocations: 150.9 kB / 0.6545 GB, free: 52.98 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.232, allocations: 18.23 kB / 0.6545 GB, free: 52.97 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002706/0.2323, allocations: 288.8 kB / 0.6548 GB, free: 52.88 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.44e-05/0.2324, allocations: 27.19 kB / 0.6548 GB, free: 52.88 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2324, allocations: 0 / 0.6548 GB, free: 52.88 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2324, allocations: 2.141 kB / 0.6548 GB, free: 52.88 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005189/0.2329, allocations: 0.6112 MB / 0.6554 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2329, allocations: 0.75 kB / 0.6554 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.751e-05/0.2329, allocations: 9.438 kB / 0.6555 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2329, allocations: 2.719 kB / 0.6555 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.2329, allocations: 11.78 kB / 0.6555 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2329, allocations: 3.938 kB / 0.6555 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2329, allocations: 1.75 kB / 0.6555 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.2332, allocations: 382.7 kB / 0.6558 GB, free: 52.33 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.833e-05/0.2332, allocations: 27.91 kB / 0.6559 GB, free: 52.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.2332, allocations: 2.812 kB / 0.6559 GB, free: 52.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.524e-05/0.2333, allocations: 11.09 kB / 0.6559 GB, free: 52.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.302e-05/0.2333, allocations: 15.06 kB / 0.6559 GB, free: 52.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.2333, allocations: 25.8 kB / 0.6559 GB, free: 52.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.451e-05/0.2333, allocations: 100 kB / 0.656 GB, free: 52.22 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.2333, allocations: 0 / 0.656 GB, free: 52.22 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002743/0.2336, allocations: 64.95 kB / 0.6561 GB, free: 52.21 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 5 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005357/0.2341, allocations: 0.9623 MB / 0.657 GB, free: 51.48 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002803/0.2344, allocations: 265.2 kB / 0.6573 GB, free: 51.42 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2344, allocations: 0 / 0.6573 GB, free: 51.42 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 8.963e-05/0.2345, allocations: 108.2 kB / 0.6574 GB, free: 51.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.2347, allocations: 19.83 kB / 0.6574 GB, free: 51.39 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00067/0.2354, allocations: 0.5325 MB / 0.6579 GB, free: 51.11 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.947e-05/0.2355, allocations: 149.9 kB / 0.6581 GB, free: 51.02 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001521/0.2356, allocations: 72.66 kB / 0.6581 GB, free: 51.01 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.2357, allocations: 82.78 kB / 0.6582 GB, free: 50.96 MB / 0.5573 GB Notification: Performance of SimCode: time 6.21e-07/0.2357, allocations: 0 / 0.6582 GB, free: 50.96 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01783/0.2535, allocations: 4.407 MB / 0.6625 GB, free: 49.98 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.185/7.439, allocations: 6.016 kB / 0.6625 GB, free: 49.97 MB / 0.5573 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Geometries_Examples_RotateRectangle_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Geometries_Examples_RotateRectangle.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.974649704061449] Failed to read output from testmodel.py, exit status != 0: 7.522845042869449 7.530313857 7.300695823 Calling exit ...