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.001222/0.001222, allocations: 110.2 kB / 16.37 MB, free: 6.012 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.001295/0.001295, allocations: 194.8 kB / 17.31 MB, free: 5.613 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.271/1.271, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002147/0.002147, allocations: 294.7 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9252/0.9252, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 95.42 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1591, allocations: 86.97 MB / 0.6816 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003078/0.1623, allocations: 2.003 MB / 0.6836 GB, free: 5.438 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002111/0.1644, allocations: 1.659 MB / 0.6852 GB, free: 3.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.048e-05/0.1645, allocations: 4 kB / 0.6852 GB, free: 3.766 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.873e-05/0.1645, allocations: 15.84 kB / 0.6852 GB, free: 3.75 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.807e-05/0.1646, allocations: 51.55 kB / 0.6853 GB, free: 3.699 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000836/0.1655, allocations: 354.8 kB / 0.6856 GB, free: 3.352 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.1657, allocations: 223.1 kB / 0.6858 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.1658, allocations: 49.47 kB / 0.6859 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.45e-05/0.1659, allocations: 87.75 kB / 0.6859 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.1661, allocations: 83.75 kB / 0.686 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.874e-05/0.1661, allocations: 16 kB / 0.686 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006752/0.1668, allocations: 423.4 kB / 0.6864 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.956e-05/0.1668, allocations: 39.91 kB / 0.6865 GB, free: 2.445 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.207e-05/0.1669, allocations: 83.66 kB / 0.6866 GB, free: 2.363 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004988/0.1674, allocations: 430.9 kB / 0.687 GB, free: 1.941 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1674, allocations: 0 / 0.687 GB, free: 1.941 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1674, allocations: 0 / 0.687 GB, free: 1.941 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1675, allocations: 0 / 0.687 GB, free: 1.941 MB / 494.1 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.0007447/0.1682, allocations: 0.5147 MB / 0.6875 GB, free: 1.371 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.1682, allocations: 8.031 kB / 0.6875 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005128/0.1688, allocations: 96.64 kB / 0.6876 GB, free: 1.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.1689, allocations: 184.1 kB / 0.6877 GB, free: 1.051 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.517e-05/0.169, allocations: 42.27 kB / 0.6878 GB, free: 1.004 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.169, allocations: 20.36 kB / 0.6878 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003611/0.1694, allocations: 182.1 kB / 0.688 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1694, allocations: 3.938 kB / 0.688 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.1694, allocations: 4 kB / 0.688 GB, free: 0.793 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.1694, allocations: 4 kB / 0.688 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004106/0.1698, allocations: 191.7 kB / 0.6882 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2635/0.4333, allocations: 0.8991 MB / 0.689 GB, free: 17.69 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005536/0.4339, allocations: 172 kB / 0.6892 GB, free: 17.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.4342, allocations: 77.31 kB / 0.6893 GB, free: 17.66 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00061/0.4348, allocations: 0.5237 MB / 0.6898 GB, free: 17.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.4348, allocations: 39.7 kB / 0.6898 GB, free: 17.05 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 2.345e-06/0.4348, allocations: 4.609 kB / 0.6898 GB, free: 17.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007775/0.4356, allocations: 228 kB / 0.6901 GB, free: 17.02 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.4357, allocations: 53.42 kB / 0.6901 GB, free: 16.96 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.4358, allocations: 162.1 kB / 0.6903 GB, free: 16.86 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.4359, allocations: 31 kB / 0.6903 GB, free: 16.83 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.019e-05/0.436, allocations: 121.7 kB / 0.6904 GB, free: 16.74 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.459e-05/0.436, allocations: 44.16 kB / 0.6905 GB, free: 16.71 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.399e-05/0.4361, allocations: 40.7 kB / 0.6905 GB, free: 16.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.584e-05/0.4362, allocations: 322.7 kB / 0.6908 GB, free: 16.39 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.4364, allocations: 73.56 kB / 0.6909 GB, free: 16.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/0.4366, allocations: 97.69 kB / 0.691 GB, free: 16.37 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003764/0.437, allocations: 154.4 kB / 0.6911 GB, free: 16.35 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.437, allocations: 0 / 0.6911 GB, free: 16.35 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005763/0.4376, allocations: 222.6 kB / 0.6913 GB, free: 16.31 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.4377, allocations: 8.5 kB / 0.6913 GB, free: 16.31 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.4377, allocations: 0.75 kB / 0.6913 GB, free: 16.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.4377, allocations: 2.812 kB / 0.6913 GB, free: 16.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/0.438, allocations: 35.83 kB / 0.6914 GB, free: 16.31 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.438, allocations: 1.75 kB / 0.6914 GB, free: 16.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.4382, allocations: 28.02 kB / 0.6914 GB, free: 16.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.4382, allocations: 6.406 kB / 0.6914 GB, free: 16.3 MB / 494.1 MB 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 9.141e-05/0.4383, allocations: 129.9 kB / 0.6915 GB, free: 16.19 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.898e-05/0.4384, allocations: 15.28 kB / 0.6915 GB, free: 16.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000497/0.4389, allocations: 196.6 kB / 0.6917 GB, free: 16.11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.4389, allocations: 0.9688 kB / 0.6917 GB, free: 16.11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.4389, allocations: 4.219 kB / 0.6917 GB, free: 16.11 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.4389, allocations: 3.547 kB / 0.6917 GB, free: 16.11 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.4402, allocations: 0.9732 MB / 0.6927 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.4402, allocations: 2.078 kB / 0.6927 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/0.4404, allocations: 36.23 kB / 0.6927 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.4404, allocations: 1.25 kB / 0.6927 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.4405, allocations: 2.562 kB / 0.6927 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.4405, allocations: 4.125 kB / 0.6927 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.4405, allocations: 5.125 kB / 0.6927 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000487/0.441, allocations: 293 kB / 0.693 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.79e-05/0.441, allocations: 93.91 kB / 0.6931 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/0.4411, allocations: 6.75 kB / 0.6931 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.4413, allocations: 12.8 kB / 0.6931 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.4414, allocations: 14.45 kB / 0.6931 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.4414, allocations: 13.25 kB / 0.6931 GB, free: 14.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.912e-05/0.4415, allocations: 119.9 kB / 0.6933 GB, free: 14.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.4415, allocations: 0 / 0.6933 GB, free: 14.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000458/0.4419, allocations: 127.8 kB / 0.6934 GB, free: 14.8 MB / 494.1 MB 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.0004491/0.4424, allocations: 229.5 kB / 0.6936 GB, free: 14.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004746/0.4429, allocations: 180.7 kB / 0.6938 GB, free: 14.64 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4429, allocations: 0 / 0.6938 GB, free: 14.64 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.4431, allocations: 82.38 kB / 0.6939 GB, free: 14.61 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.4435, allocations: 42.92 kB / 0.6939 GB, free: 14.61 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006499/0.4442, allocations: 327.3 kB / 0.6942 GB, free: 14.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.4443, allocations: 0.7094 MB / 0.6949 GB, free: 13.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001567/0.4445, allocations: 36.62 kB / 0.6949 GB, free: 13.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.4446, allocations: 19.41 kB / 0.695 GB, free: 13.69 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4446, allocations: 1.375 kB / 0.695 GB, free: 13.69 MB / 494.1 MB Notification: Performance of Templates: time 0.009542/0.4541, allocations: 4.261 MB / 0.6991 GB, free: 13.39 MB / 494.1 MB 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)