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.001413/0.001413, allocations: 80.88 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.00101/0.00101, 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.9967/0.9967, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.8671/0.8671, allocations: 154.6 MB / 414.8 MB, free: 0.5117 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.643e-06/1.643e-06, allocations: 0.6562 kB / 480 MB, free: 6.848 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.589e-05/2.753e-05, allocations: 5.156 kB / 480 MB, free: 6.844 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002785/0.002813, allocations: 2.116 MB / 482.2 MB, free: 4.758 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.004639, allocations: 1.461 MB / 483.6 MB, free: 3.32 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.0047, allocations: 4 kB / 483.6 MB, free: 3.316 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 5.238e-05/0.004752, allocations: 15.8 kB / 483.6 MB, free: 3.301 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.53e-05/0.004848, allocations: 52.67 kB / 483.7 MB, free: 3.25 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008776/0.005725, allocations: 320.3 kB / 484 MB, free: 2.938 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.005927, allocations: 231 kB / 484.2 MB, free: 2.711 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.006042, allocations: 36 kB / 484.3 MB, free: 2.68 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.006174, allocations: 119.8 kB / 484.4 MB, free: 2.562 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.006285, allocations: 67.84 kB / 484.5 MB, free: 2.496 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.006311, allocations: 20.56 kB / 484.5 MB, free: 2.477 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006239/0.006935, allocations: 384.7 kB / 484.8 MB, free: 2.102 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.657e-05/0.006972, allocations: 35.89 kB / 484.9 MB, free: 2.066 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.287e-05/0.007035, allocations: 72.45 kB / 485 MB, free: 1.996 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005201/0.007555, allocations: 399.4 kB / 485.3 MB, free: 1.605 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.007559, allocations: 0 / 485.3 MB, free: 1.605 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.00756, allocations: 0.625 kB / 485.3 MB, free: 1.605 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.007564, allocations: 0 / 485.3 MB, free: 1.605 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.0005187/0.008083, allocations: 421 kB / 485.8 MB, free: 1.168 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.008117, allocations: 12.03 kB / 485.8 MB, free: 1.156 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002635/0.00838, allocations: 74.88 kB / 485.8 MB, free: 1.09 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.803e-05/0.008478, allocations: 129.5 kB / 486 MB, free: 0.9375 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.245e-05/0.008551, allocations: 75.95 kB / 486 MB, free: 0.8516 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.008577, allocations: 13.12 kB / 486.1 MB, free: 0.8398 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.0088, allocations: 201.2 kB / 486.2 MB, free: 0.625 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.008809, allocations: 1.5 kB / 486.2 MB, free: 0.625 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.008823, allocations: 8.375 kB / 486.3 MB, free: 0.6172 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.00883, allocations: 8.125 kB / 486.3 MB, free: 0.6094 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.505e-05/0.008905, allocations: 52.95 kB / 486.3 MB, free: 0.5586 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007277/0.009633, allocations: 445.9 kB / 486.8 MB, free: 112 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006328/0.01027, allocations: 200.9 kB / 486.9 MB, free: 15.91 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.895e-05/0.01031, allocations: 30.56 kB / 487 MB, free: 15.88 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001885/0.0105, allocations: 64.44 kB / 487 MB, free: 15.81 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.01053, allocations: 35.69 kB / 487.1 MB, free: 15.77 MB / 458.7 MB Notification: Performance of pre-optimization done (n=15): time 2.285e-06/0.01053, allocations: 0 / 487.1 MB, free: 15.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005549/0.01108, allocations: 210.1 kB / 487.3 MB, free: 15.56 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.01111, allocations: 59.39 kB / 487.3 MB, free: 15.49 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.085e-05/0.01118, allocations: 123.4 kB / 487.5 MB, free: 15.36 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.0112, allocations: 29.7 kB / 487.5 MB, free: 15.32 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.349e-05/0.01125, allocations: 125.2 kB / 487.6 MB, free: 15.2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.01128, allocations: 51.52 kB / 487.7 MB, free: 15.15 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.328e-05/0.01133, allocations: 41.64 kB / 487.7 MB, free: 15.1 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.158e-05/0.01141, allocations: 320 kB / 488 MB, free: 14.78 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.27e-05/0.01145, allocations: 27.98 kB / 488 MB, free: 14.75 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.464e-05/0.01149, allocations: 32.5 kB / 488.1 MB, free: 14.72 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.053e-05/0.01158, allocations: 76.11 kB / 488.1 MB, free: 14.65 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.01159, allocations: 4.906 kB / 488.2 MB, free: 14.64 MB / 458.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002502/0.01184, allocations: 160.2 kB / 488.3 MB, free: 14.48 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.01185, allocations: 5.875 kB / 488.3 MB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.01186, allocations: 6.344 kB / 488.3 MB, free: 14.47 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002464/0.0121, allocations: 78.06 kB / 488.4 MB, free: 14.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005572/0.01266, allocations: 123.1 kB / 488.5 MB, free: 14.28 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002984/0.01296, allocations: 0.538 MB / 489.1 MB, free: 13.72 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.611e-05/0.01302, allocations: 15.88 kB / 489.1 MB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.01303, allocations: 8.938 kB / 489.1 MB, free: 13.7 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 7.615e-05/0.01311, allocations: 129.2 kB / 489.2 MB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.01314, allocations: 11.98 kB / 489.2 MB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000292/0.01343, allocations: 155.7 kB / 489.4 MB, free: 13.39 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.01343, allocations: 0 / 489.4 MB, free: 13.39 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.01344, allocations: 0 / 489.4 MB, free: 13.39 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.01344, allocations: 4.906 kB / 489.4 MB, free: 13.39 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006351/0.01408, allocations: 434.9 kB / 489.8 MB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.01408, allocations: 4 kB / 489.8 MB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000526/0.01461, allocations: 112.4 kB / 489.9 MB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002007/0.01481, allocations: 85.78 kB / 490 MB, free: 12.74 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.01482, allocations: 8 kB / 490 MB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002589/0.01508, allocations: 0.5374 MB / 490.5 MB, free: 12.17 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.01508, allocations: 4 kB / 490.5 MB, free: 12.17 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.01533, allocations: 247.5 kB / 490.8 MB, free: 11.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.39e-05/0.01534, allocations: 12.98 kB / 490.8 MB, free: 11.89 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.01536, allocations: 4 kB / 490.8 MB, free: 11.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.729e-05/0.01544, allocations: 12.67 kB / 490.8 MB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.521e-05/0.01546, allocations: 15.86 kB / 490.8 MB, free: 11.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.01547, allocations: 9.922 kB / 490.8 MB, free: 11.85 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.964e-05/0.01549, allocations: 20.09 kB / 490.9 MB, free: 11.83 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01549, allocations: 0 / 490.9 MB, free: 11.83 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002945/0.01579, allocations: 139.5 kB / 491 MB, free: 11.7 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.0003111/0.0161, allocations: 217.2 kB / 491.2 MB, free: 11.48 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002791/0.01638, allocations: 129.8 kB / 491.3 MB, free: 11.36 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.01638, allocations: 4 kB / 491.3 MB, free: 11.35 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.01653, allocations: 78.27 kB / 491.4 MB, free: 11.27 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.01671, allocations: 46.34 kB / 491.5 MB, free: 11.23 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000635/0.01735, allocations: 312.6 kB / 491.8 MB, free: 10.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.81e-05/0.01739, allocations: 63.84 kB / 491.8 MB, free: 10.82 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.868e-05/0.01746, allocations: 22.66 kB / 491.9 MB, free: 10.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.01756, allocations: 83.34 kB / 491.9 MB, free: 10.72 MB / 458.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01756, allocations: 0 / 491.9 MB, free: 10.72 MB / 458.7 MB Notification: Performance of Templates: time 0.006557/0.02411, allocations: 5.015 MB / 496.9 MB, free: 6.055 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7425631978549063]