Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.85/1.85, allocations: 292.6 MB / 307.5 MB, free: 5.188 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.001379/0.001378, allocations: 185 kB / 377.1 MB, free: 1.508 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.949/1.949, allocations: 205.4 MB / 0.6366 GB, free: 8.617 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.001034/0.001034, allocations: 90.83 kB / 0.7509 GB, free: 62.95 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003643, allocations: 8 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2758, allocations: 116.3 MB / 0.9884 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8141/1.09, allocations: 145.6 MB / 1.131 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/1.09, allocations: 91.28 kB / 1.131 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0236/1.114, allocations: 8.084 MB / 1.139 GB, free: 24.88 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.917e-06/1.114, allocations: 0.7969 kB / 1.139 GB, free: 24.88 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.985e-06/1.114, allocations: 0 / 1.139 GB, free: 24.88 MB / 0.7292 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.0009576/1.115, allocations: 0.4982 MB / 1.139 GB, free: 24.36 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/1.115, allocations: 8.031 kB / 1.139 GB, free: 24.35 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.961e-05/1.115, allocations: 57.75 kB / 1.139 GB, free: 24.29 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004757/1.116, allocations: 86.27 kB / 1.139 GB, free: 24.22 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/1.116, allocations: 188.9 kB / 1.139 GB, free: 24 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.815e-05/1.116, allocations: 48.59 kB / 1.139 GB, free: 23.95 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/1.116, allocations: 12 kB / 1.139 GB, free: 23.94 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004392/1.116, allocations: 186 kB / 1.14 GB, free: 23.79 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/1.116, allocations: 0 / 1.14 GB, free: 23.79 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/1.116, allocations: 4.797 kB / 1.14 GB, free: 23.79 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/1.116, allocations: 4 kB / 1.14 GB, free: 23.78 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004251/1.117, allocations: 189.2 kB / 1.14 GB, free: 23.62 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/1.118, allocations: 0.947 MB / 1.141 GB, free: 22.67 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004699/1.119, allocations: 178.8 kB / 1.141 GB, free: 22.51 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006247/1.119, allocations: 0.5133 MB / 1.141 GB, free: 21.91 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/1.119, allocations: 43.75 kB / 1.141 GB, free: 21.86 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/1.119, allocations: 0 / 1.141 GB, free: 21.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.0006914/1.12, allocations: 244.6 kB / 1.142 GB, free: 21.64 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.163e-05/1.12, allocations: 55.97 kB / 1.142 GB, free: 21.57 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/1.12, allocations: 148.7 kB / 1.142 GB, free: 21.43 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/1.12, allocations: 30.5 kB / 1.142 GB, free: 21.39 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.947e-05/1.12, allocations: 116.4 kB / 1.142 GB, free: 21.28 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.766e-05/1.12, allocations: 43.64 kB / 1.142 GB, free: 21.24 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.244e-05/1.12, allocations: 4 kB / 1.142 GB, free: 21.24 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.989e-05/1.121, allocations: 323.7 kB / 1.142 GB, free: 20.92 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/1.121, allocations: 79.44 kB / 1.142 GB, free: 20.85 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/1.121, allocations: 95.36 kB / 1.143 GB, free: 20.77 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/1.121, allocations: 80.12 kB / 1.143 GB, free: 20.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.121, allocations: 0 / 1.143 GB, free: 20.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00047/1.122, allocations: 226.5 kB / 1.143 GB, free: 20.49 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/1.122, allocations: 4 kB / 1.143 GB, free: 20.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.122, allocations: 1.344 kB / 1.143 GB, free: 20.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/1.122, allocations: 4.031 kB / 1.143 GB, free: 20.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/1.122, allocations: 43.72 kB / 1.143 GB, free: 20.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/1.122, allocations: 2.562 kB / 1.143 GB, free: 20.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/1.122, allocations: 27.31 kB / 1.143 GB, free: 20.42 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/1.122, allocations: 5.125 kB / 1.143 GB, free: 20.42 MB / 0.7292 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 () * Number of clocked 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.0001114/1.122, allocations: 126.8 kB / 1.143 GB, free: 20.29 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.061e-05/1.122, allocations: 19.77 kB / 1.143 GB, free: 20.27 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000499/1.123, allocations: 207.2 kB / 1.143 GB, free: 20.09 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/1.123, allocations: 7.938 kB / 1.143 GB, free: 20.09 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/1.123, allocations: 4 kB / 1.143 GB, free: 20.08 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.123, allocations: 0.7969 kB / 1.143 GB, free: 20.08 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/1.124, allocations: 0.9792 MB / 1.144 GB, free: 19.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/1.124, allocations: 1.109 kB / 1.144 GB, free: 19.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/1.125, allocations: 30.42 kB / 1.144 GB, free: 19.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/1.125, allocations: 7.938 kB / 1.144 GB, free: 19.01 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/1.125, allocations: 2.609 kB / 1.144 GB, free: 19.01 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/1.125, allocations: 4 kB / 1.144 GB, free: 19 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.125, allocations: 4.062 kB / 1.144 GB, free: 19 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004497/1.125, allocations: 321.8 kB / 1.145 GB, free: 18.67 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.564e-05/1.125, allocations: 100.9 kB / 1.145 GB, free: 18.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/1.125, allocations: 8 kB / 1.145 GB, free: 18.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/1.125, allocations: 13.86 kB / 1.145 GB, free: 18.54 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/1.125, allocations: 14.06 kB / 1.145 GB, free: 18.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/1.125, allocations: 16.55 kB / 1.145 GB, free: 18.52 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.988e-05/1.126, allocations: 124.7 kB / 1.145 GB, free: 18.41 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.21e-07/1.126, allocations: 0 / 1.145 GB, free: 18.41 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005927/1.126, allocations: 136.4 kB / 1.145 GB, free: 18.28 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) * Number of clocked states: 0 () * 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.001103/1.127, allocations: 1.117 MB / 1.146 GB, free: 17.16 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004923/1.128, allocations: 191 kB / 1.146 GB, free: 17 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.128, allocations: 0.9375 kB / 1.146 GB, free: 17 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001901/1.128, allocations: 86.34 kB / 1.146 GB, free: 16.92 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/1.128, allocations: 43.97 kB / 1.146 GB, free: 16.89 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/1.13, allocations: 1.196 MB / 1.148 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/1.13, allocations: 0.7091 MB / 1.148 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001975/1.131, allocations: 31.06 kB / 1.148 GB, free: 15 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/1.131, allocations: 43.84 kB / 1.148 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of SimCode: time 6.72e-07/1.131, allocations: 1.125 kB / 1.148 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01978/1.151, allocations: 5.394 MB / 1.154 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/1.151, allocations: 206.8 kB / 1.154 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.861/3.012, allocations: 0 / 1.154 GB, free: 11.71 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)