Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.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.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",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.8269/0.8269, allocations: 141.8 MB / 149.3 MB, free: 9.238 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.00121/0.00121, allocations: 183.8 kB / 182.2 MB, free: 9.461 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.453/1.453, allocations: 221.5 MB / 436.4 MB, free: 13.36 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.001002/0.001002, allocations: 80.12 kB / 0.5074 GB, free: 10.19 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001716/0.001716, allocations: 284 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.242e-05/2.239e-05, allocations: 7.938 kB / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4725/0.4725, allocations: 82.77 MB / 0.7575 GB, free: 31.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1577/0.6303, allocations: 114.5 MB / 0.8693 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.6306, allocations: 91.92 kB / 0.8694 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02454/0.6552, allocations: 8.227 MB / 0.8774 GB, free: 4.918 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6552, allocations: 0 / 0.8774 GB, free: 4.918 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.6552, allocations: 4 kB / 0.8774 GB, free: 4.914 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008512/0.6561, allocations: 498.1 kB / 0.8779 GB, free: 4.383 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.6561, allocations: 12.03 kB / 0.8779 GB, free: 4.371 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/0.6573, allocations: 152.3 kB / 0.8781 GB, free: 4.223 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.6575, allocations: 178.8 kB / 0.8782 GB, free: 4.008 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.935e-05/0.6576, allocations: 41.69 kB / 0.8783 GB, free: 3.961 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.6576, allocations: 8 kB / 0.8783 GB, free: 3.953 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003208/0.6579, allocations: 168 kB / 0.8785 GB, free: 3.789 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.6583, allocations: 161.3 kB / 0.8786 GB, free: 3.625 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.6583, allocations: 0 / 0.8786 GB, free: 3.625 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.6583, allocations: 4 kB / 0.8786 GB, free: 3.621 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.6583, allocations: 8 kB / 0.8786 GB, free: 3.613 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.6598, allocations: 0.9329 MB / 0.8795 GB, free: 2.574 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.66, allocations: 146.7 kB / 0.8797 GB, free: 2.422 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.6601, allocations: 76.84 kB / 0.8797 GB, free: 2.344 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006797/0.6608, allocations: 0.5142 MB / 0.8802 GB, free: 1.719 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.6609, allocations: 42.48 kB / 0.8803 GB, free: 1.668 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.6609, allocations: 0 / 0.8803 GB, free: 1.668 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16): time 0.001383/0.6623, allocations: 285.5 kB / 0.8806 GB, free: 1.383 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.6623, allocations: 55.41 kB / 0.8806 GB, free: 1.316 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.6624, allocations: 114.7 kB / 0.8807 GB, free: 1.199 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.6625, allocations: 25.7 kB / 0.8807 GB, free: 1.168 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.144e-05/0.6626, allocations: 132.2 kB / 0.8809 GB, free: 1.035 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.614e-05/0.6626, allocations: 55.2 kB / 0.8809 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.537e-05/0.6626, allocations: 0 / 0.8809 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.6628, allocations: 322.8 kB / 0.8812 GB, free: 0.6562 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.6629, allocations: 68.31 kB / 0.8813 GB, free: 0.5859 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.6631, allocations: 92.89 kB / 0.8814 GB, free: 0.4922 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.6642, allocations: 180.8 kB / 0.8816 GB, free: 324 kB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.6642, allocations: 0 / 0.8816 GB, free: 324 kB / 0.5417 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001323/0.6655, allocations: 313.5 kB / 0.8819 GB, free: 8 kB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.6656, allocations: 7.938 kB / 0.8819 GB, free: 0 / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.6656, allocations: 0 / 0.8819 GB, free: 0 / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.6656, allocations: 0 / 0.8819 GB, free: 0 / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003809/0.666, allocations: 59.92 kB / 0.8819 GB, free: 15.94 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.666, allocations: 0 / 0.8819 GB, free: 15.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002743/0.6663, allocations: 31.81 kB / 0.882 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.6663, allocations: 8 kB / 0.882 GB, free: 15.9 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.com.isOn,com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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 9.639e-05/0.6664, allocations: 109.9 kB / 0.8821 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001228/0.6677, allocations: 290.8 kB / 0.8823 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/0.6677, allocations: 11.81 kB / 0.8824 GB, free: 15.49 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.669, allocations: 311.2 kB / 0.8827 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.6691, allocations: 7.984 kB / 0.8827 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.6691, allocations: 0 / 0.8827 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.6691, allocations: 3.953 kB / 0.8827 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002252/0.6713, allocations: 1.067 MB / 0.8837 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.6714, allocations: 4 kB / 0.8837 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000325/0.6717, allocations: 39.97 kB / 0.8837 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/0.6717, allocations: 4 kB / 0.8837 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.6717, allocations: 11.88 kB / 0.8838 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.6718, allocations: 0 / 0.8838 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.6718, allocations: 8.062 kB / 0.8838 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.6731, allocations: 412.2 kB / 0.8842 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/0.6732, allocations: 93.02 kB / 0.8843 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.756e-05/0.6732, allocations: 3.984 kB / 0.8843 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003151/0.6735, allocations: 23.97 kB / 0.8843 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.6736, allocations: 7.984 kB / 0.8843 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/0.6736, allocations: 8 kB / 0.8843 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.079e-05/0.6737, allocations: 101.6 kB / 0.8844 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6737, allocations: 0 / 0.8844 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005435/0.6742, allocations: 139.7 kB / 0.8845 GB, free: 13.06 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.001996/0.6762, allocations: 1.216 MB / 0.8857 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003403/0.6766, allocations: 159.9 kB / 0.8859 GB, free: 11.65 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.6766, allocations: 4 kB / 0.8859 GB, free: 11.65 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.6768, allocations: 75.94 kB / 0.8859 GB, free: 11.57 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.6771, allocations: 25.64 kB / 0.886 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/0.6791, allocations: 416 kB / 0.8864 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.6794, allocations: 0.7202 MB / 0.8871 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000191/0.6796, allocations: 29.14 kB / 0.8871 GB, free: 10.33 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.6798, allocations: 39.42 kB / 0.8871 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of SimCode: time 1.563e-06/0.6798, allocations: 0 / 0.8871 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02474/0.7045, allocations: 4.706 MB / 0.8917 GB, free: 5.621 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/0.7048, allocations: 164.7 kB / 0.8919 GB, free: 5.434 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.716/2.421, allocations: 4.031 kB / 0.8919 GB, free: 5.43 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)