Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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.001102/0.001102, allocations: 92.22 kB / 19.65 MB, free: 280 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.001156/0.001156, allocations: 165 kB / 23.02 MB, free: 1.555 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.051/1.051, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.8381/0.8381, allocations: 154.6 MB / 414.5 MB, free: 0.6406 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_ZeroInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.5203 GB, free: 2.238 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.487e-05/1.668e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.234 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002323/0.002339, allocations: 2.083 MB / 0.5224 GB, free: 164 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.004117, allocations: 1.447 MB / 0.5238 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.599e-05/0.004183, allocations: 4 kB / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 5.953e-05/0.004243, allocations: 19.8 kB / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.004345, allocations: 60.89 kB / 0.5239 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009682/0.005313, allocations: 331.7 kB / 0.5242 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.005522, allocations: 235.9 kB / 0.5244 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.005642, allocations: 33.67 kB / 0.5244 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.005767, allocations: 123.7 kB / 0.5245 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.005874, allocations: 73.14 kB / 0.5246 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.005901, allocations: 20 kB / 0.5246 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005414/0.006443, allocations: 352.4 kB / 0.525 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.973e-05/0.006483, allocations: 39.89 kB / 0.525 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.872e-05/0.006551, allocations: 64.92 kB / 0.5251 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004859/0.007037, allocations: 394.8 kB / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.007039, allocations: 0 / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.72e-07/0.00704, allocations: 1.219 kB / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.007044, allocations: 0 / 0.5254 GB, free: 13 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.0006241/0.007669, allocations: 0.5403 MB / 0.526 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.007708, allocations: 8.031 kB / 0.526 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003086/0.008016, allocations: 100.2 kB / 0.5261 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.509e-05/0.008101, allocations: 120.5 kB / 0.5262 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.972e-05/0.008181, allocations: 75.95 kB / 0.5263 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.008211, allocations: 21.39 kB / 0.5263 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.00849, allocations: 214.6 kB / 0.5265 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.008498, allocations: 1.125 kB / 0.5265 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.008517, allocations: 8.375 kB / 0.5265 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.008525, allocations: 11.19 kB / 0.5265 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.008652, allocations: 81.12 kB / 0.5266 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008568/0.009508, allocations: 0.6019 MB / 0.5272 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007245/0.01023, allocations: 213.7 kB / 0.5274 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.772e-05/0.01031, allocations: 49.23 kB / 0.5274 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002129/0.01052, allocations: 65.22 kB / 0.5275 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.01055, allocations: 41.39 kB / 0.5275 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.142e-06/0.01055, allocations: 0 / 0.5275 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0006843/0.01124, allocations: 260.4 kB / 0.5278 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.01126, allocations: 53.28 kB / 0.5278 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.137e-05/0.01135, allocations: 185.9 kB / 0.528 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.01137, allocations: 33.7 kB / 0.528 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.566e-05/0.01145, allocations: 163 kB / 0.5282 GB, free: 10 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/0.01148, allocations: 55.53 kB / 0.5282 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-05/0.01153, allocations: 45.8 kB / 0.5283 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.01165, allocations: 0.4923 MB / 0.5288 GB, free: 9.395 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.459e-05/0.01172, allocations: 43.97 kB / 0.5288 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.101e-05/0.01179, allocations: 59.91 kB / 0.5289 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.01193, allocations: 102 kB / 0.529 GB, free: 9.191 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.01193, allocations: 2.375 kB / 0.529 GB, free: 9.191 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000346/0.01228, allocations: 201.1 kB / 0.5292 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.0123, allocations: 13.34 kB / 0.5292 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.0123, allocations: 0 / 0.5292 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002705/0.01257, allocations: 82.14 kB / 0.5292 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000553/0.01312, allocations: 104.7 kB / 0.5293 GB, free: 8.793 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004042/0.01353, allocations: 0.8195 MB / 0.5301 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.466e-05/0.0136, allocations: 31.75 kB / 0.5302 GB, free: 7.914 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.01361, allocations: 4 kB / 0.5302 GB, free: 7.91 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 8.003e-05/0.01369, allocations: 160.6 kB / 0.5303 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.01373, allocations: 23.98 kB / 0.5304 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003584/0.01409, allocations: 211.4 kB / 0.5306 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.01409, allocations: 7.031 kB / 0.5306 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.01409, allocations: 0 / 0.5306 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.0141, allocations: 0 / 0.5306 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007722/0.01487, allocations: 0.5833 MB / 0.5311 GB, free: 6.867 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.01487, allocations: 5.469 kB / 0.5311 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005424/0.01541, allocations: 94.61 kB / 0.5312 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001985/0.01561, allocations: 81.39 kB / 0.5313 GB, free: 6.695 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.01563, allocations: 8 kB / 0.5313 GB, free: 6.688 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003458/0.01597, allocations: 0.8283 MB / 0.5321 GB, free: 5.828 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01598, allocations: 0 / 0.5321 GB, free: 5.828 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003496/0.01633, allocations: 341.7 kB / 0.5325 GB, free: 5.465 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.087e-05/0.01634, allocations: 7.953 kB / 0.5325 GB, free: 5.457 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.01636, allocations: 4 kB / 0.5325 GB, free: 5.453 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.445e-05/0.01644, allocations: 21.52 kB / 0.5325 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.69e-05/0.01647, allocations: 7.984 kB / 0.5325 GB, free: 5.426 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.01648, allocations: 4 kB / 0.5325 GB, free: 5.422 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.439e-05/0.01652, allocations: 135.2 kB / 0.5326 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01652, allocations: 0 / 0.5326 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002893/0.01681, allocations: 140.9 kB / 0.5328 GB, free: 5.152 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.0002924/0.01711, allocations: 237.7 kB / 0.533 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003679/0.01747, allocations: 165.2 kB / 0.5331 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01748, allocations: 0 / 0.5331 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.01766, allocations: 94.02 kB / 0.5332 GB, free: 4.66 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.01788, allocations: 39.38 kB / 0.5333 GB, free: 4.625 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007185/0.0186, allocations: 319.7 kB / 0.5336 GB, free: 4.281 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.124e-05/0.01864, allocations: 75.69 kB / 0.5336 GB, free: 4.188 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.929e-05/0.0187, allocations: 16.06 kB / 0.5337 GB, free: 4.18 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.287e-05/0.01874, allocations: 21.36 kB / 0.5337 GB, free: 4.156 MB / 0.4948 GB Notification: Performance of SimCode: time 6.62e-07/0.01874, allocations: 3.938 kB / 0.5337 GB, free: 4.152 MB / 0.4948 GB Notification: Performance of Templates: time 0.005844/0.02459, allocations: 4.503 MB / 0.5381 GB, free: 15.86 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.0221608630381525]