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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.827/0.827, allocations: 141.8 MB / 149.3 MB, free: 9.199 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 184.6 kB / 182.2 MB, free: 9.434 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 221.5 MB / 436.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008541/0.0008541, allocations: 80.11 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001636/0.001636, allocations: 269 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.951e-05/1.959e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4259/0.426, allocations: 82.78 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1565/0.5825, allocations: 114.5 MB / 0.8692 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/0.5829, allocations: 87.81 kB / 0.8693 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02412/0.607, allocations: 8.166 MB / 0.8772 GB, free: 5.129 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6071, allocations: 0 / 0.8772 GB, free: 5.129 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.6071, allocations: 4 kB / 0.8772 GB, free: 5.125 MB / 0.5417 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.001043/0.6081, allocations: 498 kB / 0.8777 GB, free: 4.59 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.6082, allocations: 8.031 kB / 0.8777 GB, free: 4.582 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005656/0.6088, allocations: 84.52 kB / 0.8778 GB, free: 4.5 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.609, allocations: 182.8 kB / 0.878 GB, free: 4.281 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.31e-05/0.6091, allocations: 37.7 kB / 0.878 GB, free: 4.238 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/0.6091, allocations: 11.98 kB / 0.878 GB, free: 4.227 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002991/0.6094, allocations: 140 kB / 0.8781 GB, free: 4.09 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.6097, allocations: 149.5 kB / 0.8783 GB, free: 3.938 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.6098, allocations: 0 / 0.8783 GB, free: 3.938 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.6098, allocations: 0 / 0.8783 GB, free: 3.938 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.6098, allocations: 4 kB / 0.8783 GB, free: 3.934 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.6114, allocations: 0.8999 MB / 0.8792 GB, free: 2.922 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.6116, allocations: 126.7 kB / 0.8793 GB, free: 2.789 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.6117, allocations: 58.48 kB / 0.8794 GB, free: 2.73 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007194/0.6124, allocations: 0.5258 MB / 0.8799 GB, free: 2.094 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.6125, allocations: 34.56 kB / 0.8799 GB, free: 2.051 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.6125, allocations: 7.938 kB / 0.8799 GB, free: 2.043 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14): time 0.001388/0.6139, allocations: 249.4 kB / 0.8801 GB, free: 1.793 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.6139, allocations: 51.66 kB / 0.8802 GB, free: 1.73 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.6141, allocations: 122.1 kB / 0.8803 GB, free: 1.605 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.6141, allocations: 25.7 kB / 0.8803 GB, free: 1.574 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.6142, allocations: 124.1 kB / 0.8805 GB, free: 1.449 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.228e-05/0.6143, allocations: 47.34 kB / 0.8805 GB, free: 1.402 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/0.6143, allocations: 4 kB / 0.8805 GB, free: 1.398 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.6144, allocations: 322.8 kB / 0.8808 GB, free: 1.074 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.6145, allocations: 55.98 kB / 0.8809 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.6147, allocations: 74.41 kB / 0.8809 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.6158, allocations: 168.8 kB / 0.8811 GB, free: 0.7773 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6158, allocations: 0 / 0.8811 GB, free: 0.7773 MB / 0.5417 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001281/0.6171, allocations: 293.8 kB / 0.8814 GB, free: 496 kB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.6172, allocations: 9.406 kB / 0.8814 GB, free: 488 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.6172, allocations: 0 / 0.8814 GB, free: 488 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.6172, allocations: 0 / 0.8814 GB, free: 488 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.6175, allocations: 43.91 kB / 0.8814 GB, free: 444 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.6175, allocations: 3.953 kB / 0.8814 GB, free: 440 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.6177, allocations: 27.86 kB / 0.8815 GB, free: 412 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.6177, allocations: 11.98 kB / 0.8815 GB, free: 400 kB / 0.5417 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.0001023/0.6178, allocations: 106.2 kB / 0.8816 GB, free: 288 kB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.146e-05/0.6178, allocations: 7.906 kB / 0.8816 GB, free: 280 kB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/0.6192, allocations: 281.6 kB / 0.8818 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.6192, allocations: 0 / 0.8818 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.6192, allocations: 0 / 0.8818 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.6192, allocations: 3.953 kB / 0.8818 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/0.6214, allocations: 1.017 MB / 0.8828 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.6214, allocations: 0 / 0.8828 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.6216, allocations: 31.98 kB / 0.8829 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.6216, allocations: 0 / 0.8829 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.6217, allocations: 7.984 kB / 0.8829 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.6217, allocations: 3.953 kB / 0.8829 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.6217, allocations: 0 / 0.8829 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.623, allocations: 385.4 kB / 0.8833 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.455e-05/0.6231, allocations: 92.95 kB / 0.8833 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.6231, allocations: 4 kB / 0.8833 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.6233, allocations: 15.98 kB / 0.8834 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.6234, allocations: 15.97 kB / 0.8834 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.6234, allocations: 4 kB / 0.8834 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.507e-05/0.6235, allocations: 105.6 kB / 0.8835 GB, free: 14.13 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6235, allocations: 0 / 0.8835 GB, free: 14.13 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000571/0.6241, allocations: 143.6 kB / 0.8836 GB, free: 13.99 MB / 0.5573 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.0005723/0.6246, allocations: 227 kB / 0.8838 GB, free: 13.76 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003065/0.625, allocations: 143.9 kB / 0.884 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.625, allocations: 0 / 0.884 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.6251, allocations: 67.92 kB / 0.884 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.6254, allocations: 24.27 kB / 0.8841 GB, free: 13.53 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004715/0.6259, allocations: 178.8 kB / 0.8842 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.6263, allocations: 0.7084 MB / 0.8849 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001651/0.6264, allocations: 33.62 kB / 0.885 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.373e-05/0.6265, allocations: 15.44 kB / 0.885 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of SimCode: time 2.4e-07/0.6265, allocations: 0 / 0.885 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of Templates: time 0.007164/0.6337, allocations: 3.324 MB / 0.8882 GB, free: 9.273 MB / 0.5573 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)