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.721/1.721, allocations: 289.9 MB / 297.4 MB, free: 6.367 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.00134/0.00134, allocations: 180.8 kB / 366.7 MB, free: 1.645 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.08/2.08, allocations: 205.2 MB / 0.626 GB, free: 7.18 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.0009728/0.0009731, allocations: 93.8 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.003e-05/2.987e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7418/0.7418, allocations: 116.3 MB / 0.9733 GB, free: 76.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2119/0.9537, allocations: 144.8 MB / 1.115 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/0.9541, allocations: 88.77 kB / 1.115 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02469/0.9788, allocations: 8.023 MB / 1.123 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9789, allocations: 0 / 1.123 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.9789, allocations: 4 kB / 1.123 GB, free: 13.3 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.0008165/0.9797, allocations: 0.4903 MB / 1.123 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.9798, allocations: 11.59 kB / 1.123 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004871/0.9803, allocations: 95.23 kB / 1.123 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.9804, allocations: 182.9 kB / 1.123 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.032e-05/0.9805, allocations: 37.7 kB / 1.123 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.9806, allocations: 8 kB / 1.123 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002657/0.9808, allocations: 147.9 kB / 1.124 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.9811, allocations: 145.5 kB / 1.124 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.9811, allocations: 0 / 1.124 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.9811, allocations: 0 / 1.124 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.9812, allocations: 4 kB / 1.124 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.9825, allocations: 0.8895 MB / 1.125 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.9828, allocations: 130.6 kB / 1.125 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.29e-05/0.9829, allocations: 60.86 kB / 1.125 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007404/0.9836, allocations: 0.522 MB / 1.125 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.9837, allocations: 34.56 kB / 1.125 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.9837, allocations: 0 / 1.125 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.001339/0.985, allocations: 250.8 kB / 1.126 GB, free: 9.969 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.9851, allocations: 59.36 kB / 1.126 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.9852, allocations: 119 kB / 1.126 GB, free: 9.777 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.9852, allocations: 25.7 kB / 1.126 GB, free: 9.746 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.559e-05/0.9853, allocations: 124.1 kB / 1.126 GB, free: 9.621 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.9854, allocations: 39.36 kB / 1.126 GB, free: 9.582 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.152e-05/0.9854, allocations: 3.938 kB / 1.126 GB, free: 9.578 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.9855, allocations: 330.8 kB / 1.126 GB, free: 9.246 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.125e-05/0.9856, allocations: 52 kB / 1.126 GB, free: 9.195 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.9857, allocations: 79.77 kB / 1.126 GB, free: 9.113 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.9868, allocations: 167.8 kB / 1.127 GB, free: 8.949 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.9868, allocations: 0 / 1.127 GB, free: 8.949 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00127/0.9881, allocations: 291.4 kB / 1.127 GB, free: 8.66 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.9882, allocations: 8 kB / 1.127 GB, free: 8.652 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.9882, allocations: 0 / 1.127 GB, free: 8.652 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.9882, allocations: 3.953 kB / 1.127 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/0.9885, allocations: 43.91 kB / 1.127 GB, free: 8.605 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.9885, allocations: 1.969 kB / 1.127 GB, free: 8.605 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.9887, allocations: 23.86 kB / 1.127 GB, free: 8.582 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.9887, allocations: 4 kB / 1.127 GB, free: 8.578 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 () * 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.0001026/0.9888, allocations: 112.9 kB / 1.127 GB, free: 8.461 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001135/0.9899, allocations: 253.7 kB / 1.127 GB, free: 8.207 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.99, allocations: 19.84 kB / 1.127 GB, free: 8.188 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/0.9912, allocations: 268 kB / 1.128 GB, free: 7.922 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.9912, allocations: 7.938 kB / 1.128 GB, free: 7.914 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.9912, allocations: 0 / 1.128 GB, free: 7.914 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.9912, allocations: 3.984 kB / 1.128 GB, free: 7.91 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002117/0.9934, allocations: 1.027 MB / 1.129 GB, free: 6.742 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.9934, allocations: 0 / 1.129 GB, free: 6.742 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.9936, allocations: 31.98 kB / 1.129 GB, free: 6.711 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.9936, allocations: 3.984 kB / 1.129 GB, free: 6.707 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.9936, allocations: 0 / 1.129 GB, free: 6.707 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.9936, allocations: 8.062 kB / 1.129 GB, free: 6.699 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.9936, allocations: 2.578 kB / 1.129 GB, free: 6.699 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.9949, allocations: 386.2 kB / 1.129 GB, free: 6.289 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-05/0.9949, allocations: 92.91 kB / 1.129 GB, free: 6.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.995, allocations: 2.938 kB / 1.129 GB, free: 6.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.9952, allocations: 15.97 kB / 1.129 GB, free: 6.164 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.9952, allocations: 19.73 kB / 1.129 GB, free: 6.148 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.9952, allocations: 4 kB / 1.129 GB, free: 6.145 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.011e-05/0.9953, allocations: 103.2 kB / 1.129 GB, free: 6.043 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9953, allocations: 4 kB / 1.129 GB, free: 6.039 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000544/0.9959, allocations: 135.7 kB / 1.129 GB, free: 5.906 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.001963/0.9978, allocations: 1.175 MB / 1.13 GB, free: 4.691 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002848/0.9981, allocations: 137.9 kB / 1.131 GB, free: 4.559 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.82e-06/0.9982, allocations: 4 kB / 1.131 GB, free: 4.555 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.9983, allocations: 63.94 kB / 1.131 GB, free: 4.492 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.9985, allocations: 26.94 kB / 1.131 GB, free: 4.469 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006707/0.9992, allocations: 276.9 kB / 1.131 GB, free: 4.156 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.9996, allocations: 0.7123 MB / 1.132 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001531/0.9997, allocations: 26.36 kB / 1.132 GB, free: 3.398 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.9998, allocations: 43.41 kB / 1.132 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.9998, allocations: 0 / 1.132 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02542/1.025, allocations: 4.394 MB / 1.136 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002647/1.026, allocations: 165.8 kB / 1.136 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/2.811, allocations: 1.125 kB / 1.136 GB, free: 14.86 MB / 0.7448 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)