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.001478/0.001478, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.00155/0.00155, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.9582/0.9582, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.7681/0.7681, allocations: 154.6 MB / 415.6 MB, free: 0.5391 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.533e-06/1.533e-06, allocations: 0 / 0.5215 GB, free: 1.922 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.478e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.918 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002594/0.002619, allocations: 2.066 MB / 0.5235 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001646/0.004265, allocations: 1.438 MB / 0.525 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.504e-05/0.00432, allocations: 4 kB / 0.525 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.882e-05/0.004369, allocations: 16.36 kB / 0.525 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.558e-05/0.004455, allocations: 56.42 kB / 0.525 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007278/0.005182, allocations: 337.2 kB / 0.5253 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.005351, allocations: 231 kB / 0.5256 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.005457, allocations: 39.66 kB / 0.5256 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.005565, allocations: 119.8 kB / 0.5257 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.005666, allocations: 79.77 kB / 0.5258 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.005692, allocations: 16 kB / 0.5258 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004501/0.006142, allocations: 348.1 kB / 0.5261 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.599e-05/0.006178, allocations: 48.42 kB / 0.5262 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.963e-05/0.006227, allocations: 59.89 kB / 0.5262 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004007/0.006628, allocations: 399.4 kB / 0.5266 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.006631, allocations: 0 / 0.5266 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.62e-07/0.006632, allocations: 0.5938 kB / 0.5266 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.006637, allocations: 5.438 kB / 0.5266 GB, free: 12.71 MB / 0.4948 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.0005223/0.007159, allocations: 0.5364 MB / 0.5272 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.007193, allocations: 8.031 kB / 0.5272 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002984/0.007491, allocations: 95.5 kB / 0.5273 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.692e-05/0.007578, allocations: 124.5 kB / 0.5274 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.701e-05/0.007645, allocations: 75.95 kB / 0.5274 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.007665, allocations: 18.28 kB / 0.5275 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.007877, allocations: 202.7 kB / 0.5277 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.007885, allocations: 4.125 kB / 0.5277 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.0079, allocations: 4.375 kB / 0.5277 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.007906, allocations: 8.125 kB / 0.5277 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.902e-05/0.007985, allocations: 62.06 kB / 0.5277 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007378/0.008723, allocations: 0.5759 MB / 0.5283 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006354/0.009358, allocations: 206.8 kB / 0.5285 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.972e-05/0.009408, allocations: 44.62 kB / 0.5285 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001874/0.009596, allocations: 63.94 kB / 0.5286 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.009618, allocations: 45.38 kB / 0.5286 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.854e-06/0.00962, allocations: 3.938 kB / 0.5286 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0005888/0.01021, allocations: 232.2 kB / 0.5289 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/0.01023, allocations: 51.41 kB / 0.5289 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.459e-05/0.01031, allocations: 196.6 kB / 0.5291 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.01033, allocations: 25.7 kB / 0.5291 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.774e-05/0.01041, allocations: 175 kB / 0.5293 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.01044, allocations: 59.52 kB / 0.5293 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.01049, allocations: 43.34 kB / 0.5294 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.0106, allocations: 0.4923 MB / 0.5299 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.839e-05/0.01065, allocations: 39.95 kB / 0.5299 GB, free: 9.16 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.515e-05/0.0107, allocations: 37.34 kB / 0.5299 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.0108, allocations: 85.16 kB / 0.53 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.0108, allocations: 0 / 0.53 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002941/0.01109, allocations: 190.8 kB / 0.5302 GB, free: 8.844 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.01111, allocations: 6.469 kB / 0.5302 GB, free: 8.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.01111, allocations: 0 / 0.5302 GB, free: 8.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002262/0.01134, allocations: 78.8 kB / 0.5303 GB, free: 8.762 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005232/0.01186, allocations: 102.9 kB / 0.5304 GB, free: 8.664 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003828/0.01224, allocations: 0.8195 MB / 0.5312 GB, free: 7.812 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.96e-05/0.01231, allocations: 21.02 kB / 0.5312 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.01232, allocations: 4.031 kB / 0.5312 GB, free: 7.789 MB / 0.4948 GB 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 9.232e-05/0.01242, allocations: 165.6 kB / 0.5314 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.01245, allocations: 19.91 kB / 0.5314 GB, free: 7.598 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003228/0.01277, allocations: 194.2 kB / 0.5316 GB, free: 7.402 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.01278, allocations: 5.062 kB / 0.5316 GB, free: 7.398 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.01278, allocations: 3.938 kB / 0.5316 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.01278, allocations: 0 / 0.5316 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007028/0.01348, allocations: 0.5547 MB / 0.5321 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01349, allocations: 1.719 kB / 0.5321 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004965/0.01398, allocations: 94.73 kB / 0.5322 GB, free: 6.707 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001927/0.01418, allocations: 84.11 kB / 0.5323 GB, free: 6.625 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.01419, allocations: 8.922 kB / 0.5323 GB, free: 6.617 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003425/0.01453, allocations: 0.8165 MB / 0.5331 GB, free: 5.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01453, allocations: 0 / 0.5331 GB, free: 5.77 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003015/0.01483, allocations: 330.5 kB / 0.5334 GB, free: 5.418 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.145e-05/0.01484, allocations: 7.953 kB / 0.5334 GB, free: 5.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.01486, allocations: 4 kB / 0.5334 GB, free: 5.406 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.473e-05/0.01494, allocations: 11.98 kB / 0.5334 GB, free: 5.395 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.995e-05/0.01497, allocations: 19.91 kB / 0.5335 GB, free: 5.375 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.01498, allocations: 4.938 kB / 0.5335 GB, free: 5.371 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.669e-05/0.01503, allocations: 139.2 kB / 0.5336 GB, free: 5.234 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01503, allocations: 0 / 0.5336 GB, free: 5.234 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003376/0.01536, allocations: 132.7 kB / 0.5337 GB, free: 5.105 MB / 0.4948 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) * 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.0003276/0.01569, allocations: 246.4 kB / 0.534 GB, free: 4.859 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002884/0.01598, allocations: 136.4 kB / 0.5341 GB, free: 4.723 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.01598, allocations: 0 / 0.5341 GB, free: 4.723 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.01614, allocations: 89.02 kB / 0.5342 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.01636, allocations: 41.69 kB / 0.5342 GB, free: 4.598 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005922/0.01696, allocations: 315.9 kB / 0.5345 GB, free: 4.262 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.106e-05/0.017, allocations: 71.7 kB / 0.5346 GB, free: 4.172 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.274e-05/0.01706, allocations: 20.3 kB / 0.5346 GB, free: 4.16 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.863e-05/0.01716, allocations: 104.2 kB / 0.5347 GB, free: 4.059 MB / 0.4948 GB Notification: Performance of SimCode: time 9.52e-07/0.01716, allocations: 0 / 0.5347 GB, free: 4.059 MB / 0.4948 GB Notification: Performance of Templates: time 0.006465/0.02362, allocations: 5.09 MB / 0.5397 GB, free: 15.16 MB / 0.5105 GB " [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.9745782669633627]