Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.000972/0.000972, 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.001714/0.001714, 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.9494/0.9494, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7765/0.7765, allocations: 154.6 MB / 414.8 MB, free: 0.4961 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 480 MB, free: 6.852 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.928e-05/2.052e-05, allocations: 2.312 kB / 480 MB, free: 6.848 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002468/0.002489, allocations: 2.08 MB / 482.1 MB, free: 4.797 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.004024, allocations: 1.457 MB / 483.5 MB, free: 3.363 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.441e-05/0.004068, allocations: 0.6562 kB / 483.5 MB, free: 3.363 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.976e-05/0.004118, allocations: 27.78 kB / 483.6 MB, free: 3.336 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.95e-05/0.004197, allocations: 44.81 kB / 483.6 MB, free: 3.293 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006703/0.004868, allocations: 350.2 kB / 484 MB, free: 2.953 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.005027, allocations: 231 kB / 484.2 MB, free: 2.727 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.953e-05/0.005117, allocations: 30.95 kB / 484.2 MB, free: 2.695 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.005221, allocations: 127.8 kB / 484.3 MB, free: 2.57 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.962e-05/0.00531, allocations: 63.86 kB / 484.4 MB, free: 2.508 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.005334, allocations: 20.91 kB / 484.4 MB, free: 2.488 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006564/0.005991, allocations: 356.3 kB / 484.8 MB, free: 2.141 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.21e-05/0.006023, allocations: 43.88 kB / 484.8 MB, free: 2.098 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.654e-05/0.006069, allocations: 68.73 kB / 484.9 MB, free: 2.031 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003486/0.006418, allocations: 394.8 kB / 485.3 MB, free: 1.645 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.00642, allocations: 0.625 kB / 485.3 MB, free: 1.645 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.00642, allocations: 0 / 485.3 MB, free: 1.645 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.845e-06/0.006423, allocations: 4.562 kB / 485.3 MB, free: 1.641 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.000423/0.006846, allocations: 428.2 kB / 485.7 MB, free: 1.195 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.744e-05/0.006873, allocations: 8.656 kB / 485.7 MB, free: 1.188 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002096/0.007083, allocations: 70.27 kB / 485.8 MB, free: 1.121 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.745e-05/0.00715, allocations: 125.6 kB / 485.9 MB, free: 0.9727 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.562e-05/0.007206, allocations: 73.75 kB / 486 MB, free: 0.8906 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.007226, allocations: 16.38 kB / 486 MB, free: 0.875 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.007401, allocations: 200.6 kB / 486.2 MB, free: 0.6602 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.413e-06/0.007408, allocations: 0.8438 kB / 486.2 MB, free: 0.6602 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.007421, allocations: 4.375 kB / 486.2 MB, free: 0.6562 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.007427, allocations: 9.125 kB / 486.2 MB, free: 0.6484 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.838e-05/0.007496, allocations: 57.02 kB / 486.2 MB, free: 0.5938 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006094/0.008105, allocations: 449.2 kB / 486.7 MB, free: 144 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005621/0.008667, allocations: 198 kB / 486.9 MB, free: 15.95 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.33e-05/0.00871, allocations: 35.84 kB / 486.9 MB, free: 15.91 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001649/0.008875, allocations: 59.94 kB / 487 MB, free: 15.85 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/0.008891, allocations: 35.31 kB / 487 MB, free: 15.81 MB / 458.7 MB Notification: Performance of pre-optimization done (n=15): time 1.082e-06/0.008892, allocations: 3.938 kB / 487 MB, free: 15.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004733/0.009366, allocations: 205.7 kB / 487.2 MB, free: 15.6 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.866e-05/0.009384, allocations: 51.41 kB / 487.3 MB, free: 15.54 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.803e-05/0.009442, allocations: 126.7 kB / 487.4 MB, free: 15.4 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.00946, allocations: 34.58 kB / 487.4 MB, free: 15.36 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.441e-05/0.009505, allocations: 120.3 kB / 487.5 MB, free: 15.24 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.009532, allocations: 56.86 kB / 487.6 MB, free: 15.18 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-05/0.009587, allocations: 41.64 kB / 487.6 MB, free: 15.14 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.328e-05/0.00965, allocations: 322.8 kB / 487.9 MB, free: 14.81 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.67e-05/0.009687, allocations: 27.98 kB / 488 MB, free: 14.79 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.719e-05/0.009724, allocations: 28.62 kB / 488 MB, free: 14.76 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.195e-05/0.009806, allocations: 80.64 kB / 488.1 MB, free: 14.68 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.009808, allocations: 1.438 kB / 488.1 MB, free: 14.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002196/0.01003, allocations: 155 kB / 488.2 MB, free: 14.52 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.01004, allocations: 5.062 kB / 488.2 MB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.01004, allocations: 0 / 488.2 MB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002066/0.01025, allocations: 80.59 kB / 488.3 MB, free: 14.44 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004506/0.0107, allocations: 106.7 kB / 488.4 MB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002554/0.01095, allocations: 0.542 MB / 489 MB, free: 13.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.644e-05/0.01101, allocations: 20.72 kB / 489 MB, free: 13.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.01102, allocations: 8 kB / 489 MB, free: 13.75 MB / 458.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.567e-05/0.01109, allocations: 123.5 kB / 489.1 MB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.01111, allocations: 16.97 kB / 489.1 MB, free: 13.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002417/0.01135, allocations: 151 kB / 489.3 MB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.01135, allocations: 0 / 489.3 MB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.01136, allocations: 0 / 489.3 MB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.01136, allocations: 7.922 kB / 489.3 MB, free: 13.44 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005648/0.01193, allocations: 434.1 kB / 489.7 MB, free: 12.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.01193, allocations: 5.281 kB / 489.7 MB, free: 12.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004286/0.01236, allocations: 99.58 kB / 489.8 MB, free: 12.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000173/0.01253, allocations: 84.34 kB / 489.9 MB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.01254, allocations: 0 / 489.9 MB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002276/0.01276, allocations: 0.5454 MB / 490.4 MB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.01277, allocations: 0 / 490.4 MB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.01299, allocations: 257.2 kB / 490.7 MB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.719e-06/0.013, allocations: 11.89 kB / 490.7 MB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.01301, allocations: 0 / 490.7 MB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.974e-05/0.01308, allocations: 11.98 kB / 490.7 MB, free: 11.94 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.217e-05/0.01311, allocations: 11.92 kB / 490.7 MB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.01312, allocations: 9.359 kB / 490.7 MB, free: 11.92 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.63e-05/0.01313, allocations: 23.73 kB / 490.7 MB, free: 11.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01313, allocations: 0 / 490.7 MB, free: 11.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002227/0.01335, allocations: 132.2 kB / 490.9 MB, free: 11.77 MB / 458.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.0002683/0.01362, allocations: 228.3 kB / 491.1 MB, free: 11.54 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002351/0.01386, allocations: 120.7 kB / 491.2 MB, free: 11.42 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.01386, allocations: 1.25 kB / 491.2 MB, free: 11.42 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.01399, allocations: 82.12 kB / 491.3 MB, free: 11.34 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.01415, allocations: 46.8 kB / 491.3 MB, free: 11.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007483/0.01489, allocations: 315 kB / 491.7 MB, free: 10.96 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.574e-05/0.01493, allocations: 67.84 kB / 491.7 MB, free: 10.88 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.556e-05/0.01499, allocations: 22.94 kB / 491.7 MB, free: 10.86 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.65e-05/0.01507, allocations: 79.34 kB / 491.8 MB, free: 10.79 MB / 458.7 MB Notification: Performance of SimCode: time 2.9e-07/0.01507, allocations: 0 / 491.8 MB, free: 10.79 MB / 458.7 MB Notification: Performance of Templates: time 0.005925/0.021, allocations: 5.016 MB / 496.8 MB, free: 6.141 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.773544581141323]