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.001441/0.001441, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 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.00169/0.00169, allocations: 219.6 kB / 22.26 MB, free: 5.121 MB / 14.72 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 1.343/1.343, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 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.002389/0.002389, allocations: 286.2 kB / 312.7 MB, free: 2.828 MB / 238.1 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 1.122/1.122, allocations: 180.6 MB / 0.5369 GB, free: 13.03 MB / 382.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002595/0.002595, allocations: 102.5 kB / 0.7396 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1438, allocations: 95.38 MB / 0.8327 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002509/0.1463, allocations: 1.636 MB / 0.8343 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.1475, allocations: 0.7143 MB / 0.835 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.285e-05/0.1476, allocations: 3.938 kB / 0.835 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002212/0.1478, allocations: 63.94 kB / 0.8351 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003819/0.1482, allocations: 175.4 kB / 0.8352 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 1.081e-05/0.1482, allocations: 0 / 0.8352 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.1484, allocations: 183.3 kB / 0.8354 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.316e-05/0.1485, allocations: 9.312 kB / 0.8354 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/0.1486, allocations: 83.67 kB / 0.8355 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.1488, allocations: 99.62 kB / 0.8356 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.1488, allocations: 8 kB / 0.8356 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002334/0.149, allocations: 127.8 kB / 0.8357 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.027e-05/0.1491, allocations: 71.73 kB / 0.8358 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.224e-05/0.1492, allocations: 75.55 kB / 0.8359 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.1495, allocations: 250.9 kB / 0.8361 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1495, allocations: 0 / 0.8361 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1495, allocations: 4 kB / 0.8361 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.886e-06/0.1495, allocations: 3.938 kB / 0.8361 GB, free: 5.207 MB / 0.5762 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.0004784/0.15, allocations: 389.4 kB / 0.8365 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.15, allocations: 9.938 kB / 0.8365 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.852e-05/0.1501, allocations: 62.7 kB / 0.8365 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.1503, allocations: 28.8 kB / 0.8366 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.722e-05/0.1504, allocations: 126.3 kB / 0.8367 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.1504, allocations: 12.38 kB / 0.8367 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.1504, allocations: 24.3 kB / 0.8367 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004509/0.1509, allocations: 355.1 kB / 0.8371 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1509, allocations: 3.938 kB / 0.8371 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.1509, allocations: 7.984 kB / 0.8371 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001248/0.151, allocations: 60.28 kB / 0.8371 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002819/0.1513, allocations: 221.8 kB / 0.8373 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.1526, allocations: 0.9669 MB / 0.8383 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.1528, allocations: 118.8 kB / 0.8384 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.1529, allocations: 97.2 kB / 0.8385 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.1529, allocations: 0 / 0.8385 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.153, allocations: 38.56 kB / 0.8385 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=39): time 1.032e-06/0.153, allocations: 0 / 0.8385 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.0005198/0.1535, allocations: 368.2 kB / 0.8389 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.1535, allocations: 55.34 kB / 0.8389 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.1536, allocations: 157.7 kB / 0.8391 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.1537, allocations: 29.69 kB / 0.8391 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.268e-05/0.1538, allocations: 152.5 kB / 0.8393 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.791e-05/0.1539, allocations: 138.8 kB / 0.8394 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.04e-05/0.1539, allocations: 73.62 kB / 0.8395 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1541, allocations: 330.8 kB / 0.8398 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.1542, allocations: 100.5 kB / 0.8399 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.1545, allocations: 238.4 kB / 0.8401 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004406/0.1549, allocations: 388 kB / 0.8405 GB, free: 416 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1549, allocations: 0 / 0.8405 GB, free: 416 kB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004982/0.1554, allocations: 389.5 kB / 0.8408 GB, free: 20 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1554, allocations: 13.78 kB / 0.8409 GB, free: 8 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.1554, allocations: 4 kB / 0.8409 GB, free: 4 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.226e-05/0.1555, allocations: 12.05 kB / 0.8409 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.1556, allocations: 43.8 kB / 0.8409 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.1556, allocations: 7.938 kB / 0.8409 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.1557, allocations: 39.62 kB / 0.841 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-05/0.1558, allocations: 28 kB / 0.841 GB, free: 15.88 MB / 0.5919 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 0.0001385/0.1559, allocations: 157.7 kB / 0.8411 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/0.1559, allocations: 11.91 kB / 0.8411 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003694/0.1563, allocations: 287 kB / 0.8414 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.588e-05/0.1564, allocations: 35.86 kB / 0.8415 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1564, allocations: 3.938 kB / 0.8415 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1564, allocations: 3.984 kB / 0.8415 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008262/0.1572, allocations: 0.5946 MB / 0.842 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1572, allocations: 0 / 0.842 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.956e-05/0.1573, allocations: 11.94 kB / 0.8421 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1573, allocations: 0 / 0.8421 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.1573, allocations: 7.984 kB / 0.8421 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1573, allocations: 4 kB / 0.8421 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1573, allocations: 0 / 0.8421 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004114/0.1577, allocations: 402.9 kB / 0.8424 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.729e-05/0.1577, allocations: 23.72 kB / 0.8425 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.1577, allocations: 4 kB / 0.8425 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.89e-05/0.1578, allocations: 3.984 kB / 0.8425 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.1579, allocations: 15.97 kB / 0.8425 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.1579, allocations: 16 kB / 0.8425 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.067e-05/0.1579, allocations: 109.4 kB / 0.8426 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1579, allocations: 0 / 0.8426 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003404/0.1583, allocations: 67.88 kB / 0.8427 GB, free: 14.05 MB / 0.5919 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.000846/0.1591, allocations: 0.9539 MB / 0.8436 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000385/0.1595, allocations: 259.5 kB / 0.8439 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.1595, allocations: 0 / 0.8439 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.1597, allocations: 116.8 kB / 0.844 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.1599, allocations: 11.98 kB / 0.844 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008955/0.1608, allocations: 0.5296 MB / 0.8445 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.1612, allocations: 0.7601 MB / 0.8452 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002095/0.1614, allocations: 73.44 kB / 0.8453 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.1615, allocations: 75.41 kB / 0.8454 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of SimCode: time 4.31e-07/0.1615, allocations: 0 / 0.8454 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02935/0.1909, allocations: 4.275 MB / 0.8496 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.79, allocations: 2.969 kB / 0.8496 GB, free: 7.059 MB / 0.5919 GB " [Timeout remaining time 649] (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: 14.545582135906443] Failed to read output from testmodel.py, exit status != 0: 10.89811874809675 10.916392845 10.763479294 Calling exit ...