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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8463/0.8463, allocations: 141.8 MB / 149.3 MB, free: 9.199 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 180.8 kB / 182.2 MB, free: 9.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 221.5 MB / 436.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008613/0.0008613, allocations: 87.91 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001755/0.001755, allocations: 280 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.738e-05/1.742e-05, allocations: 0 / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4368/0.4368, allocations: 82.78 MB / 0.7575 GB, free: 31.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.139/0.5759, allocations: 110 MB / 0.8648 GB, free: 1.789 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.5761, allocations: 67.97 kB / 0.8649 GB, free: 1.723 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01419/0.5904, allocations: 5.276 MB / 0.8701 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5904, allocations: 0 / 0.8701 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.5904, allocations: 0 / 0.8701 GB, free: 12.45 MB / 0.5417 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.0003979/0.5908, allocations: 446.4 kB / 0.8705 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.5908, allocations: 12.03 kB / 0.8705 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.239e-05/0.5909, allocations: 19.81 kB / 0.8705 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.591, allocations: 183 kB / 0.8707 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.5911, allocations: 11.95 kB / 0.8707 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.754e-05/0.5911, allocations: 19.98 kB / 0.8707 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001543/0.5927, allocations: 1.129 MB / 0.8718 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006191/0.5933, allocations: 457.7 kB / 0.8723 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.5933, allocations: 0 / 0.8723 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/0.5934, allocations: 4 kB / 0.8723 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.5934, allocations: 8 kB / 0.8723 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.595, allocations: 1.253 MB / 0.8735 GB, free: 8.758 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.5953, allocations: 235.4 kB / 0.8737 GB, free: 8.52 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.5954, allocations: 109.4 kB / 0.8738 GB, free: 8.41 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01027/0.6057, allocations: 5.485 MB / 0.8792 GB, free: 2.234 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.6058, allocations: 38.56 kB / 0.8792 GB, free: 2.188 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=30): time 2.235e-06/0.6058, allocations: 0 / 0.8792 GB, free: 2.188 MB / 0.5417 GB Notification: Performance of matching and sorting (n=30): time 0.0006966/0.6065, allocations: 241.9 kB / 0.8795 GB, free: 1.945 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.6065, allocations: 55.41 kB / 0.8795 GB, free: 1.879 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.6067, allocations: 170.6 kB / 0.8797 GB, free: 1.707 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.6067, allocations: 25.7 kB / 0.8797 GB, free: 1.676 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.6069, allocations: 187.9 kB / 0.8799 GB, free: 1.484 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.616e-05/0.6069, allocations: 106.5 kB / 0.88 GB, free: 1.379 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.943e-05/0.607, allocations: 3.938 kB / 0.88 GB, free: 1.375 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.6071, allocations: 326.8 kB / 0.8803 GB, free: 1.047 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.6072, allocations: 85.08 kB / 0.8804 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.6075, allocations: 260.3 kB / 0.8806 GB, free: 0.6289 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000454/0.6079, allocations: 151.8 kB / 0.8808 GB, free: 492 kB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.6079, allocations: 4 kB / 0.8808 GB, free: 488 kB / 0.5417 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008/0.6087, allocations: 393.6 kB / 0.8811 GB, free: 88 kB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.6088, allocations: 12.03 kB / 0.8812 GB, free: 76 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.6088, allocations: 4 kB / 0.8812 GB, free: 72 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.6088, allocations: 12 kB / 0.8812 GB, free: 60 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.6092, allocations: 123.9 kB / 0.8813 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.247e-05/0.6092, allocations: 11.98 kB / 0.8813 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.6094, allocations: 43.47 kB / 0.8813 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.218e-05/0.6095, allocations: 55.92 kB / 0.8814 GB, free: 15.83 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * Array equations: 0 * 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.0001338/0.6097, allocations: 116.8 kB / 0.8815 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006103/0.6103, allocations: 249.8 kB / 0.8817 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/0.6103, allocations: 23.72 kB / 0.8818 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007292/0.6111, allocations: 289.4 kB / 0.882 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.6111, allocations: 4 kB / 0.882 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.6111, allocations: 0 / 0.882 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.6111, allocations: 4 kB / 0.882 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.6114, allocations: 246 kB / 0.8823 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.6114, allocations: 0 / 0.8823 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002472/0.6117, allocations: 87.83 kB / 0.8824 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.6117, allocations: 0 / 0.8824 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.874e-05/0.6117, allocations: 23.98 kB / 0.8824 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.6117, allocations: 0 / 0.8824 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6117, allocations: 0 / 0.8824 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000642/0.6124, allocations: 359.4 kB / 0.8827 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.982e-05/0.6125, allocations: 104.7 kB / 0.8828 GB, free: 14.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.6125, allocations: 3.953 kB / 0.8828 GB, free: 14.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.6126, allocations: 11.98 kB / 0.8828 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.6127, allocations: 27.95 kB / 0.8829 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.794e-05/0.6127, allocations: 43.98 kB / 0.8829 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.61e-05/0.6128, allocations: 119.2 kB / 0.883 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6128, allocations: 0 / 0.883 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000435/0.6133, allocations: 71.94 kB / 0.8831 GB, free: 13.99 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * 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.001108/0.6144, allocations: 0.9596 MB / 0.884 GB, free: 13 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003751/0.6148, allocations: 268.2 kB / 0.8843 GB, free: 12.74 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6148, allocations: 0 / 0.8843 GB, free: 12.74 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.6149, allocations: 111.8 kB / 0.8844 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.6151, allocations: 12.97 kB / 0.8844 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007745/0.6159, allocations: 389.7 kB / 0.8848 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.6162, allocations: 0.7576 MB / 0.8855 GB, free: 11.42 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006886/0.6169, allocations: 231.2 kB / 0.8857 GB, free: 11.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002624/0.6172, allocations: 103.4 kB / 0.8858 GB, free: 11.1 MB / 0.5573 GB Notification: Performance of SimCode: time 3.81e-07/0.6172, allocations: 0 / 0.8858 GB, free: 11.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02225/0.6394, allocations: 4.492 MB / 0.8902 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/0.6396, allocations: 156.2 kB / 0.8904 GB, free: 6.453 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.655/2.294, allocations: 0 / 0.8904 GB, free: 6.453 MB / 0.5573 GB (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)