Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006963/0.006963, allocations: 102.5 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 191.2 kB / 16.68 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001984/0.001984, allocations: 288.6 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9144/0.9144, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003026/0.003027, allocations: 99.84 kB / 0.681 GB, free: 7.488 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4451/0.4482, allocations: 86.98 MB / 0.7659 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003102/0.4513, allocations: 2 MB / 0.7679 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002417/0.4537, allocations: 1.667 MB / 0.7695 GB, free: 192 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.227e-05/0.4539, allocations: 4 kB / 0.7695 GB, free: 188 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.73e-05/0.4539, allocations: 19.78 kB / 0.7695 GB, free: 168 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.4541, allocations: 43.56 kB / 0.7695 GB, free: 124 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.4552, allocations: 358.8 kB / 0.7699 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.4555, allocations: 227.1 kB / 0.7701 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.4556, allocations: 48.28 kB / 0.7701 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.4558, allocations: 79.78 kB / 0.7702 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.4559, allocations: 95.66 kB / 0.7703 GB, free: 15.33 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.213e-05/0.456, allocations: 20 kB / 0.7703 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008162/0.4568, allocations: 415.5 kB / 0.7707 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.4568, allocations: 35.91 kB / 0.7708 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.274e-05/0.4569, allocations: 87.66 kB / 0.7708 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006371/0.4576, allocations: 430.9 kB / 0.7713 GB, free: 14.36 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.4576, allocations: 0 / 0.7713 GB, free: 14.36 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.332e-06/0.4576, allocations: 0 / 0.7713 GB, free: 14.36 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.4576, allocations: 4 kB / 0.7713 GB, free: 14.36 MB / 0.545 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.0008576/0.4585, allocations: 0.5108 MB / 0.7718 GB, free: 13.79 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.4585, allocations: 12.03 kB / 0.7718 GB, free: 13.78 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.439e-05/0.4586, allocations: 46.73 kB / 0.7718 GB, free: 13.72 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005731/0.4592, allocations: 96.64 kB / 0.7719 GB, free: 13.63 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.4593, allocations: 184.1 kB / 0.7721 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.861e-05/0.4594, allocations: 46.25 kB / 0.7721 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.4595, allocations: 12.38 kB / 0.7721 GB, free: 13.35 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00041/0.4599, allocations: 189.9 kB / 0.7723 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.4599, allocations: 0 / 0.7723 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.4599, allocations: 8 kB / 0.7723 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.4599, allocations: 4 kB / 0.7723 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004522/0.4604, allocations: 183.8 kB / 0.7725 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.4617, allocations: 0.9187 MB / 0.7734 GB, free: 11.92 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004803/0.4622, allocations: 166.6 kB / 0.7736 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002496/0.4625, allocations: 80.83 kB / 0.7736 GB, free: 11.67 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006135/0.4631, allocations: 0.522 MB / 0.7742 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.4631, allocations: 34.5 kB / 0.7742 GB, free: 10.99 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.4631, allocations: 0 / 0.7742 GB, free: 10.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.000695/0.4638, allocations: 241.8 kB / 0.7744 GB, free: 10.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.4639, allocations: 51.41 kB / 0.7745 GB, free: 10.69 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.464, allocations: 157.7 kB / 0.7746 GB, free: 10.53 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.4641, allocations: 29.7 kB / 0.7746 GB, free: 10.49 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.231e-05/0.4641, allocations: 123.7 kB / 0.7748 GB, free: 10.37 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.4642, allocations: 47.34 kB / 0.7748 GB, free: 10.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.192e-05/0.4643, allocations: 45.56 kB / 0.7748 GB, free: 10.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.4644, allocations: 322.8 kB / 0.7752 GB, free: 9.945 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.4646, allocations: 71.97 kB / 0.7752 GB, free: 9.875 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.4648, allocations: 97.66 kB / 0.7753 GB, free: 9.773 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003672/0.4652, allocations: 151.8 kB / 0.7755 GB, free: 9.621 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4652, allocations: 0 / 0.7755 GB, free: 9.621 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000487/0.4657, allocations: 211.1 kB / 0.7757 GB, free: 9.41 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.4657, allocations: 8 kB / 0.7757 GB, free: 9.402 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.4657, allocations: 0 / 0.7757 GB, free: 9.402 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.4658, allocations: 8.016 kB / 0.7757 GB, free: 9.395 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.466, allocations: 31.98 kB / 0.7757 GB, free: 9.363 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.466, allocations: 7.984 kB / 0.7757 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.4662, allocations: 27.81 kB / 0.7757 GB, free: 9.328 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.4662, allocations: 4 kB / 0.7757 GB, free: 9.324 MB / 0.545 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 (com.isOn,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.4664, allocations: 132.1 kB / 0.7759 GB, free: 9.188 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.97e-05/0.4664, allocations: 15.81 kB / 0.7759 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004992/0.4669, allocations: 201.1 kB / 0.7761 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.4669, allocations: 4 kB / 0.7761 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.467, allocations: 0 / 0.7761 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.467, allocations: 3.938 kB / 0.7761 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.4684, allocations: 0.9778 MB / 0.777 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4684, allocations: 3.938 kB / 0.777 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.4686, allocations: 32.03 kB / 0.7771 GB, free: 7.793 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.4686, allocations: 4 kB / 0.7771 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.4686, allocations: 0 / 0.7771 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.4686, allocations: 4 kB / 0.7771 GB, free: 7.785 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4686, allocations: 3.984 kB / 0.7771 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004951/0.4691, allocations: 296.9 kB / 0.7774 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-05/0.4692, allocations: 88.92 kB / 0.7775 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.783e-05/0.4692, allocations: 8 kB / 0.7775 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.4695, allocations: 15.98 kB / 0.7775 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.4695, allocations: 15.92 kB / 0.7775 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.4695, allocations: 7.984 kB / 0.7775 GB, free: 7.316 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.897e-05/0.4696, allocations: 121.9 kB / 0.7776 GB, free: 7.199 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4696, allocations: 0 / 0.7776 GB, free: 7.199 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004361/0.4701, allocations: 127.8 kB / 0.7777 GB, free: 7.074 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001121/0.4712, allocations: 0.9381 MB / 0.7787 GB, free: 6.105 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004754/0.4717, allocations: 179.8 kB / 0.7788 GB, free: 5.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4717, allocations: 0 / 0.7788 GB, free: 5.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00021/0.4719, allocations: 83.89 kB / 0.7789 GB, free: 5.848 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.4723, allocations: 42.45 kB / 0.779 GB, free: 5.809 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002837/0.4752, allocations: 2.063 MB / 0.781 GB, free: 3.648 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.4755, allocations: 0.7086 MB / 0.7817 GB, free: 2.914 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001431/0.4756, allocations: 38.34 kB / 0.7817 GB, free: 2.879 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.322e-05/0.4757, allocations: 43.42 kB / 0.7817 GB, free: 2.836 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.4757, allocations: 0 / 0.7817 GB, free: 2.836 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02314/0.4989, allocations: 6.015 MB / 0.7876 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.506/8.005, allocations: 8.359 kB / 0.7876 GB, free: 13.01 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)