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: translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 105 kB / 16.41 MB, free: 6.461 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.001662/0.001662, allocations: 187 kB / 17.34 MB, free: 5.719 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002182/0.002182, allocations: 291.6 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9574/0.9574, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 95.86 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4331/0.4349, allocations: 86.98 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003012/0.4379, allocations: 1.996 MB / 0.769 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002192/0.4401, allocations: 1.663 MB / 0.7706 GB, free: 256 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.812e-05/0.4402, allocations: 8 kB / 0.7706 GB, free: 248 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.986e-05/0.4403, allocations: 19.78 kB / 0.7706 GB, free: 228 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.408e-05/0.4404, allocations: 47.55 kB / 0.7707 GB, free: 180 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008883/0.4413, allocations: 358.8 kB / 0.771 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.4415, allocations: 223.1 kB / 0.7712 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.4417, allocations: 57.11 kB / 0.7713 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.48e-05/0.4418, allocations: 79.77 kB / 0.7714 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.4419, allocations: 87.67 kB / 0.7715 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.416e-05/0.442, allocations: 20 kB / 0.7715 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007544/0.4427, allocations: 415.5 kB / 0.7719 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.618e-05/0.4428, allocations: 39.91 kB / 0.7719 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.094e-05/0.4429, allocations: 91.64 kB / 0.772 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005237/0.4434, allocations: 417.5 kB / 0.7724 GB, free: 14.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4434, allocations: 3.938 kB / 0.7724 GB, free: 14.42 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4434, allocations: 0 / 0.7724 GB, free: 14.42 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.4434, allocations: 0 / 0.7724 GB, free: 14.42 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.0007705/0.4442, allocations: 0.5148 MB / 0.7729 GB, free: 13.85 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.4442, allocations: 12.03 kB / 0.7729 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005727/0.4448, allocations: 92.58 kB / 0.773 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.445, allocations: 188.1 kB / 0.7732 GB, free: 13.53 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.71e-05/0.445, allocations: 42.27 kB / 0.7732 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.4451, allocations: 16.38 kB / 0.7732 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004041/0.4455, allocations: 182.1 kB / 0.7734 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.4455, allocations: 3.938 kB / 0.7734 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.4455, allocations: 8 kB / 0.7734 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.4456, allocations: 4 kB / 0.7734 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004331/0.446, allocations: 179.8 kB / 0.7736 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.4473, allocations: 0.9149 MB / 0.7745 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004919/0.4478, allocations: 178.5 kB / 0.7747 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.448, allocations: 80.81 kB / 0.7747 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005965/0.4486, allocations: 0.5181 MB / 0.7752 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.4487, allocations: 34.56 kB / 0.7753 GB, free: 11.11 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.4487, allocations: 0 / 0.7753 GB, free: 11.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0006839/0.4494, allocations: 235.5 kB / 0.7755 GB, free: 10.88 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.4494, allocations: 59.41 kB / 0.7756 GB, free: 10.81 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.4495, allocations: 158.3 kB / 0.7757 GB, free: 10.65 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.4496, allocations: 33.7 kB / 0.7757 GB, free: 10.61 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.641e-05/0.4497, allocations: 115.7 kB / 0.7759 GB, free: 10.49 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/0.4497, allocations: 51.34 kB / 0.7759 GB, free: 10.44 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.082e-05/0.4498, allocations: 41.66 kB / 0.7759 GB, free: 10.39 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.4499, allocations: 322.8 kB / 0.7763 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.4501, allocations: 75.95 kB / 0.7763 GB, free: 9.996 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.4503, allocations: 89.67 kB / 0.7764 GB, free: 9.902 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003776/0.4507, allocations: 151.9 kB / 0.7766 GB, free: 9.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.4507, allocations: 7.938 kB / 0.7766 GB, free: 9.742 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004824/0.4512, allocations: 219.3 kB / 0.7768 GB, free: 9.523 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.4513, allocations: 10.59 kB / 0.7768 GB, free: 9.516 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.4513, allocations: 0 / 0.7768 GB, free: 9.516 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.4513, allocations: 4 kB / 0.7768 GB, free: 9.512 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.4515, allocations: 35.97 kB / 0.7768 GB, free: 9.477 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4515, allocations: 0 / 0.7768 GB, free: 9.477 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.4517, allocations: 27.86 kB / 0.7768 GB, free: 9.449 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.4517, allocations: 4 kB / 0.7769 GB, free: 9.445 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.0001167/0.4519, allocations: 132.1 kB / 0.777 GB, free: 9.309 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.747e-05/0.4519, allocations: 19.81 kB / 0.777 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005118/0.4524, allocations: 198.4 kB / 0.7772 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.4525, allocations: 0 / 0.7772 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.4525, allocations: 0 / 0.7772 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4525, allocations: 3.938 kB / 0.7772 GB, free: 9.082 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/0.4538, allocations: 0.9816 MB / 0.7781 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4538, allocations: 4 kB / 0.7782 GB, free: 7.941 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.454, allocations: 27.98 kB / 0.7782 GB, free: 7.914 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4541, allocations: 0 / 0.7782 GB, free: 7.914 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.4541, allocations: 7.984 kB / 0.7782 GB, free: 7.906 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.4541, allocations: 0 / 0.7782 GB, free: 7.906 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4541, allocations: 8.062 kB / 0.7782 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004636/0.4546, allocations: 291.5 kB / 0.7785 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.531e-05/0.4546, allocations: 88.92 kB / 0.7786 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.4547, allocations: 4 kB / 0.7786 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.4549, allocations: 23.91 kB / 0.7786 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.4549, allocations: 19.92 kB / 0.7786 GB, free: 7.441 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.4549, allocations: 8 kB / 0.7786 GB, free: 7.434 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.603e-05/0.455, allocations: 115.2 kB / 0.7787 GB, free: 7.32 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.455, allocations: 0 / 0.7787 GB, free: 7.32 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000444/0.4555, allocations: 127.9 kB / 0.7788 GB, free: 7.195 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.0004157/0.4559, allocations: 231 kB / 0.7791 GB, free: 6.961 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004624/0.4564, allocations: 171.9 kB / 0.7792 GB, free: 6.793 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.4564, allocations: 0 / 0.7792 GB, free: 6.793 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002043/0.4566, allocations: 83.89 kB / 0.7793 GB, free: 6.711 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.457, allocations: 44.09 kB / 0.7793 GB, free: 6.668 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000654/0.4577, allocations: 350.5 kB / 0.7797 GB, free: 6.289 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.4579, allocations: 0.7086 MB / 0.7804 GB, free: 5.555 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.181e-05/0.458, allocations: 23.42 kB / 0.7804 GB, free: 5.531 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.4581, allocations: 0 / 0.7804 GB, free: 5.531 MB / 0.545 GB Notification: Performance of Templates: time 0.00558/0.4636, allocations: 3.857 MB / 0.7842 GB, free: 1.703 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)