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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009028/0.0009028, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000963/0.0009632, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002912/0.002912, allocations: 271 kB / 291.2 MB, free: 1.867 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7814/0.7814, allocations: 144.6 MB / 487 MB, free: 7.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003856, allocations: 13.59 kB / 0.5684 GB, free: 38.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1472, allocations: 83.08 MB / 0.6495 GB, free: 3.547 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.001417/0.1486, allocations: 1.242 MB / 0.6507 GB, free: 2.293 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008579/0.1495, allocations: 0.6168 MB / 0.6513 GB, free: 1.676 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.67e-05/0.1495, allocations: 0 / 0.6513 GB, free: 1.676 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.1497, allocations: 39.81 kB / 0.6514 GB, free: 1.637 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002486/0.1499, allocations: 108.2 kB / 0.6515 GB, free: 1.531 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.046e-05/0.15, allocations: 0 / 0.6515 GB, free: 1.531 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000127/0.1501, allocations: 112.5 kB / 0.6516 GB, free: 1.422 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.617e-05/0.1501, allocations: 6.188 kB / 0.6516 GB, free: 1.418 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.97e-05/0.1503, allocations: 59.83 kB / 0.6516 GB, free: 1.359 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.681e-05/0.1504, allocations: 65.22 kB / 0.6517 GB, free: 1.297 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.1504, allocations: 8 kB / 0.6517 GB, free: 1.289 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.1506, allocations: 99.89 kB / 0.6518 GB, free: 1.191 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.766e-05/0.1506, allocations: 64.53 kB / 0.6519 GB, free: 1.129 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.603e-05/0.1507, allocations: 53.58 kB / 0.6519 GB, free: 1.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.1509, allocations: 165 kB / 0.6521 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1509, allocations: 0 / 0.6521 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1509, allocations: 3.938 kB / 0.6521 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1509, allocations: 0.6562 kB / 0.6521 GB, free: 0.9062 MB / 446.1 MB 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.0004011/0.1513, allocations: 439.4 kB / 0.6525 GB, free: 440 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.1513, allocations: 8.562 kB / 0.6525 GB, free: 432 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.628e-05/0.1514, allocations: 58.53 kB / 0.6526 GB, free: 364 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/0.1514, allocations: 24.31 kB / 0.6526 GB, free: 340 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.555e-05/0.1515, allocations: 184.3 kB / 0.6528 GB, free: 116 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.1516, allocations: 27.86 kB / 0.6528 GB, free: 88 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.1516, allocations: 15.98 kB / 0.6528 GB, free: 72 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004033/0.152, allocations: 344.9 kB / 0.6531 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.152, allocations: 3.938 kB / 0.6531 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.1521, allocations: 4 kB / 0.6531 GB, free: 15.7 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001262/0.1522, allocations: 64.98 kB / 0.6532 GB, free: 15.64 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000251/0.1524, allocations: 217.8 kB / 0.6534 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.1537, allocations: 0.9872 MB / 0.6544 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.1539, allocations: 213.5 kB / 0.6546 GB, free: 14.14 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.1539, allocations: 144 / 0.6546 GB, free: 14.14 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.154, allocations: 43.56 kB / 0.6546 GB, free: 14.09 MB / 462.1 MB Notification: Performance of pre-optimization done (n=39): time 1.192e-06/0.154, allocations: 0.625 kB / 0.6546 GB, free: 14.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=39): time 0.0009067/0.1549, allocations: 1.306 MB / 0.6559 GB, free: 12.56 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.1549, allocations: 53.41 kB / 0.656 GB, free: 12.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.1551, allocations: 143.8 kB / 0.6561 GB, free: 12.35 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.1551, allocations: 29.7 kB / 0.6561 GB, free: 12.31 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.498e-05/0.1552, allocations: 152.1 kB / 0.6563 GB, free: 12.16 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.478e-05/0.1553, allocations: 134.7 kB / 0.6564 GB, free: 12.03 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.013e-05/0.1553, allocations: 7.422 kB / 0.6564 GB, free: 12.02 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1554, allocations: 334.8 kB / 0.6567 GB, free: 11.69 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.1555, allocations: 100.5 kB / 0.6568 GB, free: 11.59 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.1557, allocations: 232.3 kB / 0.657 GB, free: 11.31 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.1559, allocations: 158.4 kB / 0.6572 GB, free: 11.16 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.1559, allocations: 4 kB / 0.6572 GB, free: 11.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00045/0.1564, allocations: 388.8 kB / 0.6576 GB, free: 10.77 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.1564, allocations: 8 kB / 0.6576 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/0.1564, allocations: 4 kB / 0.6576 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.1564, allocations: 4 kB / 0.6576 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.1566, allocations: 39.86 kB / 0.6576 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.1566, allocations: 16.45 kB / 0.6576 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.1567, allocations: 39.58 kB / 0.6577 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.714e-05/0.1568, allocations: 27.95 kB / 0.6577 GB, free: 10.63 MB / 462.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001228/0.1569, allocations: 157.7 kB / 0.6578 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.548e-05/0.157, allocations: 15.81 kB / 0.6579 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000355/0.1573, allocations: 279 kB / 0.6581 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.616e-05/0.1574, allocations: 23.98 kB / 0.6581 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1574, allocations: 0 / 0.6581 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1574, allocations: 0 / 0.6581 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007675/0.1582, allocations: 0.6307 MB / 0.6588 GB, free: 9.465 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1582, allocations: 0 / 0.6588 GB, free: 9.465 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.688e-05/0.1583, allocations: 8 kB / 0.6588 GB, free: 9.457 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1583, allocations: 0 / 0.6588 GB, free: 9.457 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.1583, allocations: 15.91 kB / 0.6588 GB, free: 9.441 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.1583, allocations: 7.984 kB / 0.6588 GB, free: 9.434 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1583, allocations: 0 / 0.6588 GB, free: 9.434 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/0.1587, allocations: 390.6 kB / 0.6592 GB, free: 9.035 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.035e-05/0.1587, allocations: 100.8 kB / 0.6593 GB, free: 8.918 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.1587, allocations: 0 / 0.6593 GB, free: 8.918 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.075e-05/0.1588, allocations: 3.984 kB / 0.6593 GB, free: 8.914 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.1589, allocations: 19.98 kB / 0.6593 GB, free: 8.895 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.1589, allocations: 19.98 kB / 0.6593 GB, free: 8.875 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.291e-05/0.159, allocations: 112.7 kB / 0.6594 GB, free: 8.766 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.159, allocations: 0 / 0.6594 GB, free: 8.766 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003346/0.1593, allocations: 55.98 kB / 0.6595 GB, free: 8.711 MB / 462.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006513/0.16, allocations: 0.9344 MB / 0.6604 GB, free: 7.75 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003587/0.1603, allocations: 276.3 kB / 0.6606 GB, free: 7.48 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1603, allocations: 256 / 0.6606 GB, free: 7.48 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.1605, allocations: 129.3 kB / 0.6608 GB, free: 7.355 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.1606, allocations: 7.984 kB / 0.6608 GB, free: 7.348 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000864/0.1615, allocations: 0.6121 MB / 0.6614 GB, free: 6.688 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.1618, allocations: 0.7603 MB / 0.6621 GB, free: 5.898 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002895/0.1621, allocations: 81.47 kB / 0.6622 GB, free: 5.82 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.1622, allocations: 75.41 kB / 0.6623 GB, free: 5.746 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1622, allocations: 4 kB / 0.6623 GB, free: 5.742 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01342/0.1757, allocations: 3.531 MB / 0.6657 GB, free: 2.379 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/0.1759, allocations: 202.6 kB / 0.6659 GB, free: 2.137 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.579/1.755, allocations: 0 / 0.6659 GB, free: 2.137 MB / 462.1 MB (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/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Geometries_Examples_RotateRectangle_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Geometries_Examples_RotateRectangle.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe 2>&1) Environment - environmentSimulation: