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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009789/0.0009789, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009339/0.0009339, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9213/0.9213, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001593/0.001593, allocations: 241.3 kB / 260.5 MB, free: 12.69 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6913/0.6913, allocations: 138.4 MB / 402.2 MB, free: 0.5469 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 462.3 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.438e-05, allocations: 3.078 kB / 462.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002507/0.002531, allocations: 2.069 MB / 464.4 MB, free: 15.57 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.004403, allocations: 1.467 MB / 465.8 MB, free: 14.61 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.662e-05/0.00448, allocations: 2.594 kB / 465.8 MB, free: 14.61 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.634e-05/0.004536, allocations: 21.05 kB / 465.9 MB, free: 14.6 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.004645, allocations: 53.3 kB / 465.9 MB, free: 14.56 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000998/0.005643, allocations: 339.7 kB / 466.3 MB, free: 14.39 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000238/0.005881, allocations: 231.1 kB / 466.5 MB, free: 14.28 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.006013, allocations: 41.56 kB / 466.5 MB, free: 14.25 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.006173, allocations: 123 kB / 466.6 MB, free: 14.21 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.006298, allocations: 74.17 kB / 466.7 MB, free: 14.18 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.006326, allocations: 18.47 kB / 466.7 MB, free: 14.18 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005958/0.006921, allocations: 361.8 kB / 467.1 MB, free: 13.88 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.287e-05/0.006964, allocations: 43.83 kB / 467.1 MB, free: 13.84 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.935e-05/0.007024, allocations: 67.89 kB / 467.2 MB, free: 13.77 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004541/0.007478, allocations: 390.9 kB / 467.6 MB, free: 13.39 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.007482, allocations: 3.984 kB / 467.6 MB, free: 13.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.007483, allocations: 1.406 kB / 467.6 MB, free: 13.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.007486, allocations: 0 / 467.6 MB, free: 13.38 MB / 426.7 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.000456/0.007943, allocations: 423.5 kB / 468 MB, free: 12.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.007974, allocations: 8.75 kB / 468 MB, free: 12.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002261/0.0082, allocations: 74.42 kB / 468.1 MB, free: 12.87 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.006e-05/0.00829, allocations: 136.2 kB / 468.2 MB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.717e-05/0.008358, allocations: 67.97 kB / 468.3 MB, free: 12.63 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.008381, allocations: 20.91 kB / 468.3 MB, free: 12.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.008573, allocations: 206.1 kB / 468.5 MB, free: 12.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.361e-06/0.00858, allocations: 192 / 468.5 MB, free: 12.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.008593, allocations: 4.375 kB / 468.5 MB, free: 12.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.008599, allocations: 8.125 kB / 468.5 MB, free: 12.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.866e-05/0.008668, allocations: 51.53 kB / 468.6 MB, free: 12.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006135/0.009281, allocations: 442 kB / 469 MB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005313/0.009812, allocations: 189.9 kB / 469.2 MB, free: 11.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.273e-05/0.009855, allocations: 31.12 kB / 469.2 MB, free: 11.67 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001619/0.01002, allocations: 73.3 kB / 469.3 MB, free: 11.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.01004, allocations: 36.05 kB / 469.3 MB, free: 11.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.01004, allocations: 0 / 469.3 MB, free: 11.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005152/0.01056, allocations: 202.3 kB / 469.5 MB, free: 11.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.114e-05/0.01058, allocations: 53.06 kB / 469.6 MB, free: 11.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.702e-05/0.01065, allocations: 131.5 kB / 469.7 MB, free: 11.15 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.01067, allocations: 33.7 kB / 469.7 MB, free: 11.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.558e-05/0.01071, allocations: 116.3 kB / 469.8 MB, free: 11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.01074, allocations: 55.52 kB / 469.9 MB, free: 10.94 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.01079, allocations: 39.28 kB / 469.9 MB, free: 10.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.86e-05/0.01086, allocations: 326.8 kB / 470.2 MB, free: 10.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.918e-05/0.0109, allocations: 27.98 kB / 470.3 MB, free: 10.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.825e-05/0.01093, allocations: 36.95 kB / 470.3 MB, free: 10.51 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.268e-05/0.01102, allocations: 73.12 kB / 470.4 MB, free: 10.44 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.01102, allocations: 0 / 470.4 MB, free: 10.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002147/0.01123, allocations: 156.1 kB / 470.5 MB, free: 10.28 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.01125, allocations: 4 kB / 470.5 MB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.01125, allocations: 5.812 kB / 470.5 MB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002156/0.01147, allocations: 78.3 kB / 470.6 MB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004378/0.01191, allocations: 104.2 kB / 470.7 MB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002821/0.01219, allocations: 0.5514 MB / 471.3 MB, free: 9.523 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.364e-05/0.01225, allocations: 20.42 kB / 471.3 MB, free: 9.504 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.01226, allocations: 4 kB / 471.3 MB, free: 9.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 6.982e-05/0.01233, allocations: 122.9 kB / 471.4 MB, free: 9.371 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.01235, allocations: 12.75 kB / 471.4 MB, free: 9.359 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.01261, allocations: 159 kB / 471.6 MB, free: 9.203 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.01262, allocations: 1.594 kB / 471.6 MB, free: 9.203 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.01262, allocations: 0 / 471.6 MB, free: 9.203 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.01262, allocations: 7.922 kB / 471.6 MB, free: 9.195 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005601/0.01318, allocations: 427.1 kB / 472 MB, free: 8.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.01318, allocations: 4 kB / 472 MB, free: 8.746 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004223/0.01361, allocations: 103.4 kB / 472.1 MB, free: 8.648 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001756/0.01378, allocations: 81.75 kB / 472.2 MB, free: 8.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.01379, allocations: 4 kB / 472.2 MB, free: 8.566 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000239/0.01403, allocations: 0.5583 MB / 472.8 MB, free: 7.984 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.01403, allocations: 3.125 kB / 472.8 MB, free: 7.984 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.01427, allocations: 248 kB / 473 MB, free: 7.723 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.788e-06/0.01428, allocations: 7.953 kB / 473 MB, free: 7.715 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.01429, allocations: 0 / 473 MB, free: 7.715 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.815e-05/0.01436, allocations: 11.98 kB / 473 MB, free: 7.703 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.222e-05/0.01439, allocations: 17.16 kB / 473 MB, free: 7.688 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.01439, allocations: 4 kB / 473 MB, free: 7.684 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.148e-05/0.01442, allocations: 31.45 kB / 473.1 MB, free: 7.652 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01442, allocations: 1.219 kB / 473.1 MB, free: 7.652 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002725/0.01469, allocations: 131.5 kB / 473.2 MB, free: 7.523 MB / 426.7 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002917/0.01498, allocations: 219.7 kB / 473.4 MB, free: 7.305 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002651/0.01524, allocations: 138.5 kB / 473.6 MB, free: 7.172 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.01525, allocations: 0 / 473.6 MB, free: 7.172 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002085/0.01546, allocations: 78.48 kB / 473.6 MB, free: 7.094 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.01571, allocations: 31.78 kB / 473.7 MB, free: 7.066 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005856/0.0163, allocations: 317.6 kB / 474 MB, free: 6.738 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.645e-05/0.01633, allocations: 72.45 kB / 474 MB, free: 6.648 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.822e-05/0.01639, allocations: 21.23 kB / 474.1 MB, free: 6.637 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.449e-05/0.01649, allocations: 83.34 kB / 474.1 MB, free: 6.559 MB / 426.7 MB Notification: Performance of SimCode: time 5.82e-07/0.01649, allocations: 0 / 474.1 MB, free: 6.559 MB / 426.7 MB Notification: Performance of Templates: time 0.006378/0.02286, allocations: 5.064 MB / 479.2 MB, free: 1.809 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5714927571825683]