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.8925/0.8925, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.001091/0.001091, allocations: 180.6 kB / 182.2 MB, free: 9.457 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.605/1.605, allocations: 221.5 MB / 436.4 MB, free: 13.27 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.0008992/0.0008992, allocations: 84.09 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001754/0.001754, allocations: 283.2 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.871e-05/1.873e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4834/0.4835, allocations: 82.77 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1565/0.6401, allocations: 114.5 MB / 0.8692 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.6404, allocations: 87.83 kB / 0.8693 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02392/0.6643, allocations: 8.167 MB / 0.8772 GB, free: 5.129 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6644, allocations: 0 / 0.8772 GB, free: 5.129 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.6644, 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.0008087/0.6652, allocations: 494.1 kB / 0.8777 GB, free: 4.594 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.6652, allocations: 11.97 kB / 0.8777 GB, free: 4.582 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004779/0.6657, allocations: 84.52 kB / 0.8778 GB, free: 4.5 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.6659, allocations: 178.8 kB / 0.878 GB, free: 4.285 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.559e-05/0.666, allocations: 49.62 kB / 0.878 GB, free: 4.23 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.666, allocations: 8 kB / 0.878 GB, free: 4.223 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002732/0.6663, allocations: 148 kB / 0.8782 GB, free: 4.078 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.6666, allocations: 141.5 kB / 0.8783 GB, free: 3.934 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.6666, allocations: 0 / 0.8783 GB, free: 3.934 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.6666, allocations: 4 kB / 0.8783 GB, free: 3.93 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.6666, allocations: 0 / 0.8783 GB, free: 3.93 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.6681, allocations: 0.8961 MB / 0.8792 GB, free: 2.922 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.6683, allocations: 114.7 kB / 0.8793 GB, free: 2.801 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.452e-05/0.6684, allocations: 68.84 kB / 0.8794 GB, free: 2.73 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007008/0.6691, allocations: 0.5181 MB / 0.8799 GB, free: 2.102 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.6692, allocations: 38.55 kB / 0.8799 GB, free: 2.055 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=14): time 1.352e-06/0.6692, allocations: 0 / 0.8799 GB, free: 2.055 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14): time 0.001347/0.6705, allocations: 250.4 kB / 0.8801 GB, free: 1.805 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.6706, allocations: 59.59 kB / 0.8802 GB, free: 1.734 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.6707, allocations: 121.9 kB / 0.8803 GB, free: 1.609 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.6707, allocations: 29.7 kB / 0.8803 GB, free: 1.574 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.945e-05/0.6708, allocations: 116.1 kB / 0.8805 GB, free: 1.457 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.6709, allocations: 51.3 kB / 0.8805 GB, free: 1.406 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.104e-05/0.6709, allocations: 0 / 0.8805 GB, free: 1.406 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.671, allocations: 326.8 kB / 0.8808 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.6711, allocations: 56 kB / 0.8809 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.6712, allocations: 77.7 kB / 0.8809 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.6723, allocations: 173.1 kB / 0.8811 GB, free: 0.7734 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6723, allocations: 0 / 0.8811 GB, free: 0.7734 MB / 0.5417 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001244/0.6736, allocations: 290 kB / 0.8814 GB, free: 496 kB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.6736, allocations: 8.031 kB / 0.8814 GB, free: 488 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.6736, allocations: 0 / 0.8814 GB, free: 488 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.6737, allocations: 4 kB / 0.8814 GB, free: 484 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.6739, allocations: 39.97 kB / 0.8814 GB, free: 444 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.674, allocations: 7.953 kB / 0.8814 GB, free: 436 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.6741, allocations: 19.83 kB / 0.8815 GB, free: 416 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.6742, allocations: 4 kB / 0.8815 GB, free: 412 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.0001059/0.6743, allocations: 108.9 kB / 0.8816 GB, free: 296 kB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.6743, allocations: 11.91 kB / 0.8816 GB, free: 284 kB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/0.6756, allocations: 275.8 kB / 0.8818 GB, free: 4 kB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.6756, allocations: 4 kB / 0.8818 GB, free: 0 / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.6756, allocations: 0 / 0.8818 GB, free: 0 / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.6757, allocations: 8 kB / 0.8819 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002146/0.6778, allocations: 1.013 MB / 0.8828 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.6778, allocations: 12.06 kB / 0.8829 GB, free: 14.82 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.678, allocations: 35.91 kB / 0.8829 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.6781, allocations: 0 / 0.8829 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.6781, allocations: 0 / 0.8829 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.493e-06/0.6781, allocations: 7.953 kB / 0.8829 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.6781, allocations: 0 / 0.8829 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.6794, allocations: 389.1 kB / 0.8833 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.434e-05/0.6794, allocations: 92.95 kB / 0.8834 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/0.6795, allocations: 4 kB / 0.8834 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.6797, allocations: 15.98 kB / 0.8834 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.6798, allocations: 11.98 kB / 0.8834 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.6798, allocations: 7.984 kB / 0.8834 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.114e-05/0.6799, allocations: 97.91 kB / 0.8835 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6799, allocations: 0 / 0.8835 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005487/0.6804, allocations: 135.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.0005582/0.681, allocations: 231 kB / 0.8838 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002876/0.6813, allocations: 140.6 kB / 0.884 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.6813, allocations: 0 / 0.884 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.6814, allocations: 72 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.0002646/0.6817, allocations: 27.94 kB / 0.8841 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004604/0.6822, allocations: 174.6 kB / 0.8842 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.6825, allocations: 0.7201 MB / 0.8849 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001571/0.6827, allocations: 13.72 kB / 0.885 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.039e-05/0.6827, allocations: 27.42 kB / 0.885 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of SimCode: time 4.61e-07/0.6827, allocations: 0 / 0.885 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of Templates: time 0.007192/0.6899, allocations: 3.315 MB / 0.8882 GB, free: 9.277 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)