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.767/1.767, allocations: 289.7 MB / 302.2 MB, free: 2.176 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.00112/0.00112, allocations: 181.6 kB / 371.6 MB, free: 3.406 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.814/1.814, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.001226/0.001226, allocations: 95.72 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.746e-05/4.754e-05, allocations: 4 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3225, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.007/1.33, allocations: 145.5 MB / 1.122 GB, free: 39.79 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/1.33, allocations: 84.7 kB / 1.122 GB, free: 39.76 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02265/1.353, allocations: 8.064 MB / 1.13 GB, free: 35.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.384e-06/1.353, allocations: 0 / 1.13 GB, free: 35.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.536e-05/1.353, allocations: 4 kB / 1.13 GB, free: 35.31 MB / 0.7448 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.001152/1.354, allocations: 0.4886 MB / 1.13 GB, free: 34.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.727e-05/1.354, allocations: 8.031 kB / 1.13 GB, free: 34.81 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001155/1.354, allocations: 53.47 kB / 1.13 GB, free: 34.76 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005534/1.355, allocations: 88.31 kB / 1.131 GB, free: 34.7 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/1.355, allocations: 178.3 kB / 1.131 GB, free: 34.49 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/1.355, allocations: 51.41 kB / 1.131 GB, free: 34.44 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.47e-05/1.355, allocations: 14.69 kB / 1.131 GB, free: 34.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003619/1.356, allocations: 162.5 kB / 1.131 GB, free: 34.33 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/1.356, allocations: 0 / 1.131 GB, free: 34.33 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/1.356, allocations: 10.56 kB / 1.131 GB, free: 34.33 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/1.356, allocations: 6.188 kB / 1.131 GB, free: 34.32 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/1.356, allocations: 149.9 kB / 1.131 GB, free: 34.24 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00157/1.358, allocations: 0.9453 MB / 1.132 GB, free: 33.4 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/1.358, allocations: 127.9 kB / 1.132 GB, free: 33.31 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/1.358, allocations: 63.8 kB / 1.132 GB, free: 33.27 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006147/1.359, allocations: 0.5217 MB / 1.133 GB, free: 32.67 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/1.359, allocations: 31.22 kB / 1.133 GB, free: 32.63 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 2.104e-06/1.359, allocations: 0 / 1.133 GB, free: 32.63 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0003724/1.359, allocations: 151.4 kB / 1.133 GB, free: 32.52 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/1.359, allocations: 51.41 kB / 1.133 GB, free: 32.46 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/1.359, allocations: 150.3 kB / 1.133 GB, free: 32.33 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/1.359, allocations: 33.14 kB / 1.133 GB, free: 32.3 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.623e-05/1.359, allocations: 114.6 kB / 1.133 GB, free: 32.19 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.611e-05/1.359, allocations: 58.03 kB / 1.133 GB, free: 32.15 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.406e-05/1.359, allocations: 3.562 kB / 1.133 GB, free: 32.15 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001125/1.359, allocations: 322.1 kB / 1.134 GB, free: 31.83 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/1.36, allocations: 59.38 kB / 1.134 GB, free: 31.8 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/1.36, allocations: 76.45 kB / 1.134 GB, free: 31.75 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/1.36, allocations: 60.22 kB / 1.134 GB, free: 31.72 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.36, allocations: 0 / 1.134 GB, free: 31.72 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003427/1.36, allocations: 190 kB / 1.134 GB, free: 31.59 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/1.36, allocations: 4 kB / 1.134 GB, free: 31.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/1.36, allocations: 4 kB / 1.134 GB, free: 31.58 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/1.36, allocations: 0 / 1.134 GB, free: 31.58 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/1.361, allocations: 46.02 kB / 1.134 GB, free: 31.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/1.361, allocations: 4 kB / 1.134 GB, free: 31.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/1.361, allocations: 25.12 kB / 1.134 GB, free: 31.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/1.361, allocations: 7.75 kB / 1.134 GB, free: 31.52 MB / 0.7448 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 9.544e-05/1.361, allocations: 112.3 kB / 1.134 GB, free: 31.41 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.168e-05/1.361, allocations: 15.86 kB / 1.134 GB, free: 31.39 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003648/1.361, allocations: 173.3 kB / 1.134 GB, free: 31.29 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/1.361, allocations: 4.75 kB / 1.134 GB, free: 31.29 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/1.361, allocations: 0 / 1.134 GB, free: 31.29 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/1.361, allocations: 7.453 kB / 1.134 GB, free: 31.28 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/1.363, allocations: 0.9512 MB / 1.135 GB, free: 30.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/1.363, allocations: 0 / 1.135 GB, free: 30.34 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/1.363, allocations: 38.27 kB / 1.135 GB, free: 30.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/1.363, allocations: 4.062 kB / 1.135 GB, free: 30.31 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/1.363, allocations: 4 kB / 1.135 GB, free: 30.31 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/1.363, allocations: 1.875 kB / 1.135 GB, free: 30.31 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.13e-05/1.363, allocations: 7.328 kB / 1.135 GB, free: 30.3 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/1.363, allocations: 285.8 kB / 1.136 GB, free: 30.04 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.991e-05/1.363, allocations: 91.53 kB / 1.136 GB, free: 29.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/1.363, allocations: 4.562 kB / 1.136 GB, free: 29.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/1.364, allocations: 18.17 kB / 1.136 GB, free: 29.93 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/1.364, allocations: 18.92 kB / 1.136 GB, free: 29.92 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/1.364, allocations: 6.875 kB / 1.136 GB, free: 29.91 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.389e-05/1.364, allocations: 120.3 kB / 1.136 GB, free: 29.82 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.364, allocations: 11.94 kB / 1.136 GB, free: 29.8 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005674/1.364, allocations: 132.8 kB / 1.136 GB, free: 29.69 MB / 0.7448 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.001077/1.365, allocations: 1.084 MB / 1.137 GB, free: 28.64 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003128/1.366, allocations: 154.5 kB / 1.137 GB, free: 28.54 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/1.366, allocations: 0 / 1.137 GB, free: 28.54 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/1.366, allocations: 70.16 kB / 1.137 GB, free: 28.5 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/1.366, allocations: 40.06 kB / 1.137 GB, free: 28.48 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008141/1.367, allocations: 287.7 kB / 1.138 GB, free: 28.21 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/1.367, allocations: 0.7132 MB / 1.138 GB, free: 27.48 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001769/1.367, allocations: 28.42 kB / 1.138 GB, free: 27.46 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/1.368, allocations: 48.39 kB / 1.138 GB, free: 27.45 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/1.368, allocations: 0 / 1.138 GB, free: 27.45 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/1.389, allocations: 5.38 MB / 1.144 GB, free: 24.45 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/1.39, allocations: 180.6 kB / 1.144 GB, free: 24.22 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/3.216, allocations: 0 / 1.144 GB, free: 24.22 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)