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.000982/0.000982, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.001405/0.001405, allocations: 169 kB / 23.02 MB, free: 1.543 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 1.032/1.032, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.7869/0.7869, allocations: 154.9 MB / 414.8 MB, free: 404 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 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.853e-06/1.853e-06, allocations: 0 / 0.5207 GB, free: 1.855 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.079e-05/3.264e-05, allocations: 6.172 kB / 0.5207 GB, free: 1.852 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003193/0.003225, allocations: 2.077 MB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002454/0.005679, allocations: 1.454 MB / 0.5241 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.285e-05/0.005772, allocations: 4 kB / 0.5241 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 7.467e-05/0.005847, allocations: 15.8 kB / 0.5242 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001457/0.005993, allocations: 56.52 kB / 0.5242 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.007284, allocations: 336.7 kB / 0.5245 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002952/0.007579, allocations: 227 kB / 0.5247 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.007732, allocations: 38.2 kB / 0.5248 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.007933, allocations: 124.8 kB / 0.5249 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.008094, allocations: 67.83 kB / 0.525 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.938e-05/0.008134, allocations: 23.94 kB / 0.525 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000775/0.008909, allocations: 352.6 kB / 0.5253 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.405e-05/0.008963, allocations: 41.92 kB / 0.5254 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.322e-05/0.009046, allocations: 67.89 kB / 0.5254 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006535/0.0097, allocations: 382.9 kB / 0.5258 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.009705, allocations: 0 / 0.5258 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.487e-06/0.009708, allocations: 3.984 kB / 0.5258 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.009715, allocations: 0 / 0.5258 GB, free: 12.63 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.0008398/0.01055, allocations: 0.5374 MB / 0.5263 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/0.01061, allocations: 12.03 kB / 0.5263 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001574/0.01219, allocations: 209 kB / 0.5265 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.01233, allocations: 132.4 kB / 0.5267 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.01244, allocations: 75.97 kB / 0.5267 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.855e-05/0.01249, allocations: 15.62 kB / 0.5268 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000715/0.01321, allocations: 300.9 kB / 0.527 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.01322, allocations: 1.656 kB / 0.527 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.845e-05/0.01326, allocations: 8.375 kB / 0.527 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.01327, allocations: 8.125 kB / 0.5271 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003381/0.01361, allocations: 144.6 kB / 0.5272 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/0.01508, allocations: 0.7146 MB / 0.5279 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.01635, allocations: 305.8 kB / 0.5282 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.01655, allocations: 88.67 kB / 0.5283 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/0.01666, allocations: 13.28 kB / 0.5283 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/0.01671, allocations: 37.39 kB / 0.5283 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 3.938e-06/0.01671, allocations: 1.469 kB / 0.5283 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.001382/0.0181, allocations: 365.4 kB / 0.5287 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.01814, allocations: 51.41 kB / 0.5287 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.01829, allocations: 189.8 kB / 0.5289 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.309e-05/0.01833, allocations: 33.64 kB / 0.5289 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.01844, allocations: 167.1 kB / 0.5291 GB, free: 9.105 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.725e-05/0.01849, allocations: 52.56 kB / 0.5291 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.01861, allocations: 47.34 kB / 0.5292 GB, free: 9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.01879, allocations: 0.4923 MB / 0.5297 GB, free: 8.496 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/0.01899, allocations: 86.55 kB / 0.5297 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.01919, allocations: 83 kB / 0.5298 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003187/0.01951, allocations: 126.8 kB / 0.5299 GB, free: 8.215 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.01951, allocations: 0 / 0.5299 GB, free: 8.215 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007631/0.02027, allocations: 272.1 kB / 0.5302 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.0203, allocations: 4 kB / 0.5302 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.02031, allocations: 0 / 0.5302 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000586/0.02089, allocations: 84.95 kB / 0.5303 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000696/0.02159, allocations: 119.5 kB / 0.5304 GB, free: 7.746 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005751/0.02217, allocations: 0.8233 MB / 0.5312 GB, free: 6.891 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.02239, allocations: 42.47 kB / 0.5312 GB, free: 6.852 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.02241, allocations: 7.984 kB / 0.5313 GB, free: 6.844 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 0.0001511/0.02256, allocations: 161.7 kB / 0.5314 GB, free: 6.676 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.447e-05/0.02261, allocations: 23.89 kB / 0.5314 GB, free: 6.652 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006802/0.02329, allocations: 291.7 kB / 0.5317 GB, free: 6.379 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.0233, allocations: 3.938 kB / 0.5317 GB, free: 6.375 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.02331, allocations: 0.5625 kB / 0.5317 GB, free: 6.375 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.02331, allocations: 0 / 0.5317 GB, free: 6.375 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.02468, allocations: 0.6656 MB / 0.5324 GB, free: 5.668 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.02468, allocations: 1.156 kB / 0.5324 GB, free: 5.668 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006107/0.02529, allocations: 120 kB / 0.5325 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000231/0.02552, allocations: 90.55 kB / 0.5326 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.02555, allocations: 7.984 kB / 0.5326 GB, free: 5.465 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003717/0.02592, allocations: 0.8195 MB / 0.5334 GB, free: 4.613 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.02592, allocations: 0 / 0.5334 GB, free: 4.613 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000463/0.02638, allocations: 363.5 kB / 0.5337 GB, free: 4.234 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.671e-05/0.0264, allocations: 7.953 kB / 0.5337 GB, free: 4.227 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.02644, allocations: 4 kB / 0.5337 GB, free: 4.223 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.02661, allocations: 29.94 kB / 0.5338 GB, free: 4.195 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.02664, allocations: 7.984 kB / 0.5338 GB, free: 4.188 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.02666, allocations: 11.98 kB / 0.5338 GB, free: 4.176 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.962e-05/0.02672, allocations: 136.8 kB / 0.5339 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.02672, allocations: 0 / 0.5339 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003709/0.02709, allocations: 131.5 kB / 0.534 GB, free: 3.914 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.0003647/0.02745, allocations: 234.6 kB / 0.5343 GB, free: 3.676 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005073/0.02796, allocations: 199.3 kB / 0.5345 GB, free: 3.484 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.02796, allocations: 0 / 0.5345 GB, free: 3.484 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000232/0.0282, allocations: 116.8 kB / 0.5346 GB, free: 3.371 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.02846, allocations: 48.17 kB / 0.5346 GB, free: 3.328 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000946/0.0294, allocations: 349.6 kB / 0.5349 GB, free: 2.961 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.428e-05/0.02945, allocations: 67.84 kB / 0.535 GB, free: 2.875 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001566/0.0296, allocations: 42.11 kB / 0.535 GB, free: 2.848 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.02971, allocations: 28.41 kB / 0.5351 GB, free: 2.82 MB / 0.4948 GB Notification: Performance of SimCode: time 1.042e-06/0.02971, allocations: 8 kB / 0.5351 GB, free: 2.812 MB / 0.4948 GB Notification: Performance of Templates: time 0.008021/0.03773, allocations: 6.729 MB / 0.5417 GB, free: 12.19 MB / 0.5105 GB " [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.9535964829847217]