Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.437/2.437, allocations: 284.9 MB / 292.4 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001504/0.001503, allocations: 184.9 kB / 360.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.132/2.132, allocations: 205.3 MB / 0.6191 GB, free: 12.22 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00115/0.00115, allocations: 91.47 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.569e-05/2.565e-05, allocations: 4 kB / 0.8509 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8236/0.8237, allocations: 115.3 MB / 0.9634 GB, free: 78.65 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2516/1.075, allocations: 143.7 MB / 1.104 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003236/1.076, allocations: 82.25 kB / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03971/1.115, allocations: 8.035 MB / 1.112 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.953e-06/1.116, allocations: 0.8438 kB / 1.112 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.211e-05/1.116, allocations: 4 kB / 1.112 GB, free: 4.832 MB / 0.7136 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.001123/1.117, allocations: 0.4909 MB / 1.112 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/1.117, allocations: 8.031 kB / 1.112 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007825/1.118, allocations: 95.67 kB / 1.112 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/1.118, allocations: 174.3 kB / 1.112 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/1.118, allocations: 41.69 kB / 1.112 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.591e-05/1.118, allocations: 12 kB / 1.112 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004651/1.118, allocations: 136 kB / 1.113 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004044/1.119, allocations: 148.6 kB / 1.113 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/1.119, allocations: 3.984 kB / 1.113 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/1.119, allocations: 0 / 1.113 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/1.119, allocations: 4 kB / 1.113 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002035/1.121, allocations: 0.8819 MB / 1.114 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003482/1.121, allocations: 130.6 kB / 1.114 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/1.122, allocations: 59.3 kB / 1.114 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001031/1.123, allocations: 0.5181 MB / 1.114 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/1.123, allocations: 38.5 kB / 1.114 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 2.555e-06/1.123, allocations: 4 kB / 1.114 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.00219/1.125, allocations: 261.6 kB / 1.115 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/1.125, allocations: 51.41 kB / 1.115 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/1.125, allocations: 118.5 kB / 1.115 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/1.125, allocations: 25.7 kB / 1.115 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/1.125, allocations: 128 kB / 1.115 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.855e-05/1.125, allocations: 43.36 kB / 1.115 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.601e-05/1.125, allocations: 4 kB / 1.115 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.125, allocations: 322.8 kB / 1.115 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/1.126, allocations: 56 kB / 1.115 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/1.126, allocations: 74.39 kB / 1.115 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00196/1.128, allocations: 164.7 kB / 1.116 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/1.128, allocations: 0 / 1.116 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.002259/1.13, allocations: 295.9 kB / 1.116 GB, free: 212 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.568e-05/1.13, allocations: 12.73 kB / 1.116 GB, free: 200 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/1.13, allocations: 0 / 1.116 GB, free: 200 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/1.13, allocations: 0 / 1.116 GB, free: 200 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005168/1.131, allocations: 39.97 kB / 1.116 GB, free: 160 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/1.131, allocations: 3.938 kB / 1.116 GB, free: 156 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003197/1.131, allocations: 27.84 kB / 1.116 GB, free: 128 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/1.131, allocations: 8 kB / 1.116 GB, free: 120 kB / 0.7136 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 0.0001245/1.131, allocations: 108.8 kB / 1.116 GB, free: 4 kB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002187/1.134, allocations: 255.7 kB / 1.116 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.603e-05/1.134, allocations: 11.86 kB / 1.116 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002262/1.136, allocations: 282.4 kB / 1.116 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/1.136, allocations: 4 kB / 1.117 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/1.136, allocations: 0 / 1.117 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/1.136, allocations: 0 / 1.117 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003703/1.14, allocations: 1.022 MB / 1.118 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/1.14, allocations: 0 / 1.118 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003756/1.14, allocations: 35.91 kB / 1.118 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/1.14, allocations: 0 / 1.118 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/1.14, allocations: 4.062 kB / 1.118 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/1.14, allocations: 7.938 kB / 1.118 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.14, allocations: 0 / 1.118 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/1.142, allocations: 388.4 kB / 1.118 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.203e-05/1.143, allocations: 90.23 kB / 1.118 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.593e-05/1.143, allocations: 3.984 kB / 1.118 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003691/1.143, allocations: 15.98 kB / 1.118 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.502e-05/1.143, allocations: 11.98 kB / 1.118 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/1.143, allocations: 11.94 kB / 1.118 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.037e-05/1.143, allocations: 98.28 kB / 1.118 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.61e-07/1.143, allocations: 4 kB / 1.118 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007779/1.144, allocations: 139.7 kB / 1.118 GB, free: 13.45 MB / 0.7292 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.003223/1.147, allocations: 1.171 MB / 1.119 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004617/1.148, allocations: 143.9 kB / 1.12 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/1.148, allocations: 0 / 1.12 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001767/1.148, allocations: 71.92 kB / 1.12 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/1.148, allocations: 22.62 kB / 1.12 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/1.149, allocations: 272.2 kB / 1.12 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/1.15, allocations: 0.7123 MB / 1.121 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002676/1.15, allocations: 24.16 kB / 1.121 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/1.15, allocations: 47.36 kB / 1.121 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of SimCode: time 1.242e-06/1.15, allocations: 0 / 1.121 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04814/1.198, allocations: 4.407 MB / 1.125 GB, free: 6.594 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003584/1.199, allocations: 164.3 kB / 1.125 GB, free: 6.406 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.543/3.742, allocations: 2.391 kB / 1.125 GB, free: 6.406 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)