Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0007696/0.0007696, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001035/0.001805, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007637/0.0007637, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009676/0.001731, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9809/0.9809, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09676/1.078, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.7303/0.7303, allocations: 155.3 MB / 399.5 MB, free: 15.81 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2507/0.981, allocations: 49.13 MB / 448.6 MB, free: 5.973 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.163e-06/1.163e-06, allocations: 0 / 449.9 MB, free: 4.664 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.316e-05/1.432e-05, allocations: 3.188 kB / 450 MB, free: 4.66 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002162/0.002176, allocations: 2.118 MB / 452.1 MB, free: 2.566 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.00366, allocations: 1.481 MB / 453.5 MB, free: 1.117 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.545e-05/0.003705, allocations: 0 / 453.5 MB, free: 1.117 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 4.514e-05/0.003751, allocations: 23.78 kB / 453.6 MB, free: 1.094 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.913e-05/0.00381, allocations: 51.91 kB / 453.6 MB, free: 1.051 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005173/0.004327, allocations: 319.2 kB / 453.9 MB, free: 0.7383 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.004493, allocations: 231.6 kB / 454.2 MB, free: 0.5117 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.004599, allocations: 44.05 kB / 454.2 MB, free: 480 kB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.004711, allocations: 131.8 kB / 454.3 MB, free: 348 kB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.004845, allocations: 63.8 kB / 454.4 MB, free: 284 kB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.004867, allocations: 20 kB / 454.4 MB, free: 264 kB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004644/0.005332, allocations: 376.9 kB / 454.8 MB, free: 15.89 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.833e-05/0.00536, allocations: 31.88 kB / 454.8 MB, free: 15.86 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.66e-05/0.005407, allocations: 51.94 kB / 454.9 MB, free: 15.81 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003406/0.005747, allocations: 339.8 kB / 455.2 MB, free: 15.48 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.005756, allocations: 0 / 455.2 MB, free: 15.48 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005756, allocations: 0.6562 kB / 455.2 MB, free: 15.48 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.005764, allocations: 0 / 455.2 MB, free: 15.48 MB / 442.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.0005713/0.006336, allocations: 491 kB / 455.7 MB, free: 14.97 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.911e-05/0.006365, allocations: 13.53 kB / 455.7 MB, free: 14.96 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007198/0.007084, allocations: 249.9 kB / 455.9 MB, free: 14.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.8e-05/0.007172, allocations: 129.6 kB / 456.1 MB, free: 14.55 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.748e-05/0.00723, allocations: 79.86 kB / 456.1 MB, free: 14.46 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/0.007263, allocations: 17.12 kB / 456.2 MB, free: 14.45 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003477/0.007611, allocations: 276.3 kB / 456.4 MB, free: 14.16 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.007619, allocations: 192 / 456.4 MB, free: 14.16 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.007639, allocations: 8.375 kB / 456.4 MB, free: 14.16 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.007646, allocations: 8.625 kB / 456.4 MB, free: 14.15 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.00777, allocations: 93.8 kB / 456.5 MB, free: 14.06 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006832/0.008454, allocations: 478.2 kB / 457 MB, free: 13.58 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007623/0.009216, allocations: 255.6 kB / 457.2 MB, free: 13.33 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.502e-05/0.009291, allocations: 59.88 kB / 457.3 MB, free: 13.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.91e-05/0.00937, allocations: 12.59 kB / 457.3 MB, free: 13.26 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.0094, allocations: 34.56 kB / 457.4 MB, free: 13.22 MB / 442.7 MB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/0.009401, allocations: 1.75 kB / 457.4 MB, free: 13.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006607/0.01006, allocations: 268.2 kB / 457.6 MB, free: 12.96 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.136e-05/0.01008, allocations: 51.69 kB / 457.7 MB, free: 12.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.702e-05/0.01015, allocations: 131.2 kB / 457.8 MB, free: 12.76 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.01018, allocations: 33.7 kB / 457.8 MB, free: 12.72 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.445e-05/0.01022, allocations: 113.8 kB / 457.9 MB, free: 12.61 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.01026, allocations: 59.52 kB / 458 MB, free: 12.55 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.896e-05/0.01033, allocations: 45.66 kB / 458 MB, free: 12.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.081e-05/0.0104, allocations: 326.8 kB / 458.4 MB, free: 12.17 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.342e-05/0.01047, allocations: 54.22 kB / 458.4 MB, free: 12.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.802e-05/0.01054, allocations: 51.2 kB / 458.5 MB, free: 12.07 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.01067, allocations: 102.6 kB / 458.6 MB, free: 11.97 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.01067, allocations: 0 / 458.6 MB, free: 11.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002873/0.01096, allocations: 194.3 kB / 458.8 MB, free: 11.78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.01097, allocations: 8 kB / 458.8 MB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.01098, allocations: 2.297 kB / 458.8 MB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002209/0.0112, allocations: 75.44 kB / 458.8 MB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000633/0.01183, allocations: 141.2 kB / 459 MB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003283/0.01216, allocations: 0.5622 MB / 459.5 MB, free: 10.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.0123, allocations: 30.47 kB / 459.6 MB, free: 10.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.01232, allocations: 11.98 kB / 459.6 MB, free: 10.94 MB / 442.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 8.298e-05/0.0124, allocations: 119 kB / 459.7 MB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.01243, allocations: 8.594 kB / 459.7 MB, free: 10.81 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003786/0.01281, allocations: 226.4 kB / 459.9 MB, free: 10.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.01281, allocations: 4.938 kB / 459.9 MB, free: 10.59 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.01282, allocations: 0 / 459.9 MB, free: 10.59 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.01282, allocations: 5.188 kB / 459.9 MB, free: 10.59 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009302/0.01375, allocations: 0.4929 MB / 460.4 MB, free: 10.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.01375, allocations: 4 kB / 460.4 MB, free: 10.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005985/0.01435, allocations: 137.1 kB / 460.6 MB, free: 9.945 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.403e-05/0.01437, allocations: 20.44 kB / 460.6 MB, free: 9.926 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001829/0.01455, allocations: 83.81 kB / 460.7 MB, free: 9.848 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.01457, allocations: 4 kB / 460.7 MB, free: 9.844 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002925/0.01486, allocations: 0.5618 MB / 461.2 MB, free: 9.258 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01486, allocations: 0 / 461.2 MB, free: 9.258 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/0.01515, allocations: 259.6 kB / 461.5 MB, free: 8.988 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.01518, allocations: 8 kB / 461.5 MB, free: 8.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.01532, allocations: 16.55 kB / 461.5 MB, free: 8.965 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.286e-05/0.01535, allocations: 20.91 kB / 461.5 MB, free: 8.945 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.01536, allocations: 4 kB / 461.5 MB, free: 8.941 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.694e-05/0.01538, allocations: 17.5 kB / 461.6 MB, free: 8.922 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01538, allocations: 4 kB / 461.6 MB, free: 8.918 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002566/0.01563, allocations: 128.8 kB / 461.7 MB, free: 8.793 MB / 442.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.0002687/0.0159, allocations: 228.5 kB / 461.9 MB, free: 8.566 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003209/0.01622, allocations: 162.9 kB / 462.1 MB, free: 8.41 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.01623, allocations: 0 / 462.1 MB, free: 8.41 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.01642, allocations: 96.3 kB / 462.2 MB, free: 8.316 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.01666, allocations: 261.2 kB / 462.4 MB, free: 8.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/0.0189, allocations: 342.7 kB / 462.7 MB, free: 7.66 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.551e-05/0.01894, allocations: 68.88 kB / 462.8 MB, free: 7.574 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001174/0.01906, allocations: 37.72 kB / 462.9 MB, free: 7.562 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.01922, allocations: 87.33 kB / 462.9 MB, free: 7.477 MB / 442.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01922, allocations: 0.7812 kB / 462.9 MB, free: 7.477 MB / 442.7 MB Notification: Performance of Templates: time 0.008482/0.02771, allocations: 6.723 MB / 469.7 MB, free: 1.059 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5933062816038728]