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.001161/0.001161, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001629/0.00279, 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.001035/0.001035, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005155/0.00619, 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 1.016/1.016, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08566/1.102, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.7827/0.7827, allocations: 154.6 MB / 398.8 MB, free: 380 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2918/1.075, allocations: 49.04 MB / 447.8 MB, free: 6.594 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/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.442e-06/1.442e-06, allocations: 0 / 449.1 MB, free: 5.277 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.944e-05/2.088e-05, allocations: 7.016 kB / 449.2 MB, free: 5.273 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003154/0.003175, allocations: 2.13 MB / 451.3 MB, free: 3.176 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00213/0.005304, allocations: 1.469 MB / 452.8 MB, free: 1.73 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.667e-05/0.005371, allocations: 8.297 kB / 452.8 MB, free: 1.727 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.912e-05/0.00543, allocations: 11.86 kB / 452.8 MB, free: 1.715 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.005533, allocations: 56.25 kB / 452.8 MB, free: 1.664 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009031/0.006436, allocations: 323.5 kB / 453.1 MB, free: 1.348 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002596/0.006696, allocations: 223 kB / 453.4 MB, free: 1.129 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.006821, allocations: 40.19 kB / 453.4 MB, free: 1.09 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.007, allocations: 131.7 kB / 453.5 MB, free: 0.9609 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.007132, allocations: 67.84 kB / 453.6 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.108e-05/0.007163, allocations: 16 kB / 453.6 MB, free: 0.8789 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007257/0.007889, allocations: 384.2 kB / 454 MB, free: 0.5039 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.411e-05/0.007933, allocations: 29.22 kB / 454 MB, free: 488 kB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.887e-05/0.007992, allocations: 51.94 kB / 454.1 MB, free: 436 kB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005351/0.008527, allocations: 343 kB / 454.4 MB, free: 92 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.095e-05/0.008538, allocations: 0.6875 kB / 454.4 MB, free: 92 kB / 426.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.008539, allocations: 0 / 454.4 MB, free: 92 kB / 426.7 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.008554, allocations: 1 kB / 454.4 MB, free: 92 kB / 426.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.0007782/0.009332, allocations: 490.8 kB / 454.9 MB, free: 15.58 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.009368, allocations: 8.031 kB / 454.9 MB, free: 15.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003855/0.009754, allocations: 151.8 kB / 455 MB, free: 15.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.009868, allocations: 129.5 kB / 455.2 MB, free: 15.26 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.752e-05/0.009945, allocations: 77.67 kB / 455.2 MB, free: 15.18 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/0.009978, allocations: 16.38 kB / 455.3 MB, free: 15.16 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.01025, allocations: 201.5 kB / 455.5 MB, free: 14.95 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.01026, allocations: 192 / 455.5 MB, free: 14.95 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.01027, allocations: 8.375 kB / 455.5 MB, free: 14.94 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.01028, allocations: 8.844 kB / 455.5 MB, free: 14.93 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.01041, allocations: 57.25 kB / 455.5 MB, free: 14.88 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007751/0.01118, allocations: 434.1 kB / 456 MB, free: 14.44 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007614/0.01194, allocations: 202 kB / 456.1 MB, free: 14.23 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.915e-05/0.012, allocations: 35.8 kB / 456.2 MB, free: 14.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002237/0.01223, allocations: 65.91 kB / 456.2 MB, free: 14.14 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.01225, allocations: 30.56 kB / 456.3 MB, free: 14.1 MB / 442.7 MB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.01225, allocations: 0.5 kB / 456.3 MB, free: 14.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006683/0.01292, allocations: 208 kB / 456.5 MB, free: 13.89 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.01295, allocations: 52.03 kB / 456.5 MB, free: 13.83 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.143e-05/0.01303, allocations: 138.9 kB / 456.7 MB, free: 13.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.01305, allocations: 26.64 kB / 456.7 MB, free: 13.65 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.989e-05/0.01311, allocations: 120.4 kB / 456.8 MB, free: 13.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.01315, allocations: 55.45 kB / 456.9 MB, free: 13.47 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.239e-05/0.01321, allocations: 39.41 kB / 456.9 MB, free: 13.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.003103/0.01631, allocations: 326.8 kB / 457.2 MB, free: 13.1 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.888e-05/0.01639, allocations: 24 kB / 457.2 MB, free: 13.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.513e-05/0.01645, allocations: 35.94 kB / 457.3 MB, free: 13.04 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.01657, allocations: 79.89 kB / 457.4 MB, free: 12.96 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.01657, allocations: 0 / 457.4 MB, free: 12.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000343/0.01692, allocations: 162.6 kB / 457.5 MB, free: 12.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.01693, allocations: 9.656 kB / 457.5 MB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.01694, allocations: 0 / 457.5 MB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002996/0.01724, allocations: 76 kB / 457.6 MB, free: 12.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006992/0.01794, allocations: 123.2 kB / 457.7 MB, free: 12.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004228/0.01836, allocations: 0.5504 MB / 458.3 MB, free: 12.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.635e-05/0.01845, allocations: 24.75 kB / 458.3 MB, free: 12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.01846, allocations: 0 / 458.3 MB, free: 12 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.586e-05/0.01855, allocations: 127.1 kB / 458.4 MB, free: 11.87 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.686e-05/0.01858, allocations: 11.98 kB / 458.4 MB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003678/0.01895, allocations: 156.4 kB / 458.6 MB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.01895, allocations: 4 kB / 458.6 MB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.01896, allocations: 1.969 kB / 458.6 MB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.82e-06/0.01896, allocations: 7.922 kB / 458.6 MB, free: 11.69 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003858/0.02282, allocations: 426.6 kB / 459 MB, free: 11.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.02282, allocations: 4 kB / 459 MB, free: 11.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000669/0.02349, allocations: 116.1 kB / 459.1 MB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.02351, allocations: 22.12 kB / 459.2 MB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002606/0.02377, allocations: 75.94 kB / 459.2 MB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.02379, allocations: 3.984 kB / 459.2 MB, free: 11.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003708/0.02416, allocations: 0.5529 MB / 459.8 MB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.02416, allocations: 7.938 kB / 459.8 MB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/0.02447, allocations: 241.4 kB / 460 MB, free: 10.19 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.0245, allocations: 8.594 kB / 460 MB, free: 10.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.0246, allocations: 4.75 kB / 460 MB, free: 10.18 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.02463, allocations: 23.84 kB / 460.1 MB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.02464, allocations: 5.562 kB / 460.1 MB, free: 10.15 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.673e-05/0.02467, allocations: 24.45 kB / 460.1 MB, free: 10.12 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02467, allocations: 3.938 kB / 460.1 MB, free: 10.12 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003922/0.02506, allocations: 135.5 kB / 460.2 MB, free: 9.988 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.003452/0.02851, allocations: 224.2 kB / 460.4 MB, free: 9.766 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003556/0.02887, allocations: 133 kB / 460.6 MB, free: 9.633 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.02888, allocations: 0.875 kB / 460.6 MB, free: 9.633 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.02907, allocations: 82.08 kB / 460.7 MB, free: 9.551 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.02939, allocations: 234.1 kB / 460.9 MB, free: 9.281 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006088/0.03548, allocations: 324 kB / 461.2 MB, free: 8.941 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.1e-05/0.03553, allocations: 67.83 kB / 461.3 MB, free: 8.855 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.127e-05/0.03562, allocations: 16.67 kB / 461.3 MB, free: 8.848 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.03575, allocations: 88.09 kB / 461.4 MB, free: 8.762 MB / 442.7 MB Notification: Performance of SimCode: time 1.062e-06/0.03575, allocations: 0 / 461.4 MB, free: 8.762 MB / 442.7 MB Notification: Performance of Templates: time 0.01705/0.0528, allocations: 4.973 MB / 466.3 MB, free: 4.164 MB / 442.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.67856118734926]