Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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.ReciprocatingCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",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.7995/0.7995, allocations: 141.8 MB / 149.3 MB, free: 9.191 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.0009614/0.0009614, allocations: 188.8 kB / 182.2 MB, free: 9.441 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.558/1.558, allocations: 221.5 MB / 436.4 MB, free: 13.31 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.001093/0.001093, allocations: 85.8 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001778/0.001778, allocations: 275.1 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.998e-05/2.001e-05, allocations: 0 / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4215/0.4215, allocations: 82.78 MB / 0.7575 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1506/0.5722, allocations: 114.5 MB / 0.8693 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.5725, allocations: 87.94 kB / 0.8694 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02349/0.596, allocations: 8.163 MB / 0.8773 GB, free: 5.031 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.613e-06/0.596, allocations: 0 / 0.8773 GB, free: 5.031 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.5961, allocations: 0 / 0.8773 GB, free: 5.031 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008568/0.5969, allocations: 0.4981 MB / 0.8778 GB, free: 4.484 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.597, allocations: 8.031 kB / 0.8778 GB, free: 4.477 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000475/0.5975, allocations: 88.5 kB / 0.8779 GB, free: 4.391 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.5976, allocations: 182.8 kB / 0.8781 GB, free: 4.172 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.962e-05/0.5977, allocations: 41.69 kB / 0.8781 GB, free: 4.125 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.5977, allocations: 8 kB / 0.8781 GB, free: 4.117 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002687/0.598, allocations: 148 kB / 0.8783 GB, free: 3.973 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.5983, allocations: 145.5 kB / 0.8784 GB, free: 3.824 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.5983, allocations: 0 / 0.8784 GB, free: 3.824 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.5983, allocations: 4 kB / 0.8784 GB, free: 3.82 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.5983, allocations: 0 / 0.8784 GB, free: 3.82 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.5997, allocations: 0.8922 MB / 0.8793 GB, free: 2.816 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.5999, allocations: 122.7 kB / 0.8794 GB, free: 2.688 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.527e-05/0.6, allocations: 64.86 kB / 0.8795 GB, free: 2.621 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00065/0.6007, allocations: 0.522 MB / 0.88 GB, free: 1.988 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.6007, allocations: 38.5 kB / 0.88 GB, free: 1.941 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.6007, allocations: 0 / 0.88 GB, free: 1.941 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14): time 0.001294/0.602, allocations: 250.1 kB / 0.8802 GB, free: 1.691 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.6021, allocations: 55.41 kB / 0.8803 GB, free: 1.625 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.875e-05/0.6022, allocations: 122 kB / 0.8804 GB, free: 1.5 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.6022, allocations: 29.7 kB / 0.8804 GB, free: 1.465 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.143e-05/0.6023, allocations: 124 kB / 0.8806 GB, free: 1.34 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.6023, allocations: 43.36 kB / 0.8806 GB, free: 1.297 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-05/0.6024, allocations: 0 / 0.8806 GB, free: 1.297 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.6025, allocations: 326.8 kB / 0.8809 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.072e-05/0.6026, allocations: 52 kB / 0.881 GB, free: 0.918 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.6027, allocations: 77.7 kB / 0.881 GB, free: 0.8359 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.6038, allocations: 169.4 kB / 0.8812 GB, free: 0.6719 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6038, allocations: 0 / 0.8812 GB, free: 0.6719 MB / 0.5417 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001222/0.6051, allocations: 290.3 kB / 0.8815 GB, free: 392 kB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.6051, allocations: 5.094 kB / 0.8815 GB, free: 388 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.6051, allocations: 0 / 0.8815 GB, free: 388 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.6051, allocations: 4 kB / 0.8815 GB, free: 384 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.6054, allocations: 44 kB / 0.8815 GB, free: 340 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/0.6054, allocations: 11.89 kB / 0.8815 GB, free: 328 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.6056, allocations: 23.81 kB / 0.8816 GB, free: 304 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.6056, allocations: 4 kB / 0.8816 GB, free: 300 kB / 0.5417 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 (20): * Single equations (assignments): 20 * 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 8.079e-05/0.6057, allocations: 101 kB / 0.8817 GB, free: 192 kB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001225/0.6069, allocations: 259.5 kB / 0.8819 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/0.607, allocations: 11.91 kB / 0.8819 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.6082, allocations: 279.7 kB / 0.8822 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.6082, allocations: 0 / 0.8822 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.6082, allocations: 0 / 0.8822 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.6082, allocations: 7.938 kB / 0.8822 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002099/0.6104, allocations: 1.013 MB / 0.8832 GB, free: 14.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.6104, allocations: 0 / 0.8832 GB, free: 14.48 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.6106, allocations: 39.98 kB / 0.8832 GB, free: 14.44 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.6106, allocations: 4 kB / 0.8832 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.6106, allocations: 4 kB / 0.8832 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.6106, allocations: 7.938 kB / 0.8832 GB, free: 14.42 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.6106, allocations: 0 / 0.8832 GB, free: 14.42 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.6119, allocations: 388.4 kB / 0.8836 GB, free: 14.01 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.786e-05/0.6119, allocations: 89.02 kB / 0.8837 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/0.612, allocations: 3.984 kB / 0.8837 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.6122, allocations: 11.98 kB / 0.8837 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.6122, allocations: 15.98 kB / 0.8837 GB, free: 13.87 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.6122, allocations: 7.984 kB / 0.8837 GB, free: 13.86 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.076e-05/0.6123, allocations: 92.28 kB / 0.8838 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6123, allocations: 0 / 0.8838 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005398/0.6129, allocations: 143.6 kB / 0.884 GB, free: 13.63 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 (14): * Single equations (assignments): 14 * 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.001932/0.6148, allocations: 1.193 MB / 0.8851 GB, free: 12.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002651/0.6151, allocations: 135.9 kB / 0.8853 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.6151, allocations: 0 / 0.8853 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.6152, allocations: 67.92 kB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.6155, allocations: 30.17 kB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006516/0.6161, allocations: 256.1 kB / 0.8856 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.6164, allocations: 0.7162 MB / 0.8863 GB, free: 11.14 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001501/0.6166, allocations: 27.64 kB / 0.8863 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.876e-05/0.6167, allocations: 49.98 kB / 0.8864 GB, free: 11.07 MB / 0.5573 GB Notification: Performance of SimCode: time 2.5e-07/0.6167, allocations: 0 / 0.8864 GB, free: 11.07 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.6403, allocations: 4.416 MB / 0.8907 GB, free: 6.703 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/0.6406, allocations: 191.2 kB / 0.8909 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/2.343, allocations: 0 / 0.8909 GB, free: 6.5 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)