Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4799/0.4799, allocations: 90.81 MB / 104.5 MB, free: 9.785 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 221.3 MB / 348.3 MB, free: 452 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008333/0.0008334, allocations: 95.62 kB / 421.2 MB, free: 5.461 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.248e-05/3.261e-05, allocations: 4 kB / 0.4897 GB, free: 5.25 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3373, allocations: 72.31 MB / 0.5603 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1306/0.4679, allocations: 108 MB / 0.6658 GB, free: 12.25 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.4682, allocations: 84.86 kB / 0.6659 GB, free: 12.16 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02435/0.4925, allocations: 8.21 MB / 0.6739 GB, free: 3.953 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4926, allocations: 0 / 0.6739 GB, free: 3.953 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.4926, allocations: 8 kB / 0.6739 GB, free: 3.945 MB / 490.7 MB 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.0008508/0.4935, allocations: 0.4902 MB / 0.6744 GB, free: 3.406 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.4935, allocations: 11.98 kB / 0.6744 GB, free: 3.395 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.247e-05/0.4936, allocations: 50.55 kB / 0.6745 GB, free: 3.336 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004987/0.4941, allocations: 87.73 kB / 0.6746 GB, free: 3.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.4943, allocations: 175 kB / 0.6747 GB, free: 3.039 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-05/0.4944, allocations: 49.69 kB / 0.6748 GB, free: 2.984 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.4944, allocations: 16 kB / 0.6748 GB, free: 2.969 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.4947, allocations: 165.9 kB / 0.6749 GB, free: 2.801 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.4948, allocations: 1.5 kB / 0.6749 GB, free: 2.801 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.4948, allocations: 8 kB / 0.675 GB, free: 2.793 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.4948, allocations: 4 kB / 0.675 GB, free: 2.789 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002748/0.4951, allocations: 152 kB / 0.6751 GB, free: 2.641 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.4966, allocations: 0.9422 MB / 0.676 GB, free: 1.574 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.4968, allocations: 134.6 kB / 0.6761 GB, free: 1.434 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.497, allocations: 68.84 kB / 0.6762 GB, free: 1.363 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000657/0.4976, allocations: 0.5142 MB / 0.6767 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.955e-05/0.4977, allocations: 34.56 kB / 0.6767 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/0.4977, allocations: 0 / 0.6767 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003586/0.4981, allocations: 149.4 kB / 0.6769 GB, free: 0.543 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.4981, allocations: 55.41 kB / 0.6769 GB, free: 488 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.4983, allocations: 147.9 kB / 0.6771 GB, free: 336 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.4983, allocations: 25.7 kB / 0.6771 GB, free: 304 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.54e-05/0.4984, allocations: 119.8 kB / 0.6772 GB, free: 180 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.4984, allocations: 48.22 kB / 0.6773 GB, free: 132 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.415e-05/0.4985, allocations: 4 kB / 0.6773 GB, free: 128 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.4986, allocations: 326.8 kB / 0.6776 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.4987, allocations: 64 kB / 0.6776 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.4989, allocations: 81.66 kB / 0.6777 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.499, allocations: 58.56 kB / 0.6778 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.499, allocations: 0 / 0.6778 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003377/0.4993, allocations: 189.4 kB / 0.678 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.4994, allocations: 4 kB / 0.678 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.4994, allocations: 0 / 0.678 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.4994, allocations: 4.844 kB / 0.678 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002728/0.4997, allocations: 35.97 kB / 0.678 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.4997, allocations: 3.938 kB / 0.678 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.4999, allocations: 31.86 kB / 0.678 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.4999, allocations: 7.984 kB / 0.678 GB, free: 15.32 MB / 0.4948 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.0001132/0.5, allocations: 116.9 kB / 0.6782 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.217e-05/0.5001, allocations: 11.91 kB / 0.6782 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003567/0.5005, allocations: 184.3 kB / 0.6783 GB, free: 15 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.5005, allocations: 0 / 0.6783 GB, free: 15 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.5005, allocations: 2.438 kB / 0.6783 GB, free: 15 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.5005, allocations: 4 kB / 0.6784 GB, free: 15 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.5018, allocations: 0.9523 MB / 0.6793 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.5018, allocations: 4.062 kB / 0.6793 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.502, allocations: 27.98 kB / 0.6793 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.5021, allocations: 0 / 0.6793 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.5021, allocations: 11.98 kB / 0.6793 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.5021, allocations: 3.938 kB / 0.6793 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5021, allocations: 0 / 0.6793 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.5024, allocations: 284.5 kB / 0.6796 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.683e-05/0.5025, allocations: 96.91 kB / 0.6797 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.201e-05/0.5026, allocations: 3.953 kB / 0.6797 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.5028, allocations: 19.98 kB / 0.6797 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.5028, allocations: 15.97 kB / 0.6797 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.5029, allocations: 4 kB / 0.6797 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.979e-05/0.503, allocations: 117.5 kB / 0.6798 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/0.503, allocations: 3.938 kB / 0.6798 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005975/0.5036, allocations: 135.8 kB / 0.68 GB, free: 13.12 MB / 0.4948 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.001124/0.5047, allocations: 1.088 MB / 0.681 GB, free: 12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002835/0.505, allocations: 147.9 kB / 0.6812 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.505, allocations: 0 / 0.6812 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.5051, allocations: 71.92 kB / 0.6812 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.5054, allocations: 37.67 kB / 0.6813 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007031/0.5062, allocations: 281 kB / 0.6816 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.5065, allocations: 0.7129 MB / 0.6822 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001686/0.5066, allocations: 29.25 kB / 0.6823 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.5068, allocations: 47.41 kB / 0.6823 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of SimCode: time 4.01e-07/0.5068, allocations: 4 kB / 0.6823 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01919/0.526, allocations: 5.374 MB / 0.6876 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/0.5262, allocations: 186.6 kB / 0.6878 GB, free: 5.238 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/2.21, allocations: 3.938 kB / 0.6878 GB, free: 5.234 MB / 0.4948 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)