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.001347/0.001347, allocations: 88.72 kB / 19.44 MB, free: 356 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.001507/0.001507, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.473/1.473, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 1.23/1.23, allocations: 154.6 MB / 414.2 MB, free: 0.6328 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 178] 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.693e-06/1.693e-06, allocations: 0 / 0.5196 GB, free: 2.559 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.71e-05/2.879e-05, allocations: 4.516 kB / 0.5196 GB, free: 2.555 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.004973/0.005001, allocations: 1.965 MB / 0.5215 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003884/0.008886, allocations: 1.523 MB / 0.523 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.009018, allocations: 0 / 0.523 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.009128, allocations: 19.8 kB / 0.5231 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002303/0.009359, allocations: 48.8 kB / 0.5231 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001758/0.01112, allocations: 372.6 kB / 0.5235 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004791/0.0116, allocations: 224.8 kB / 0.5237 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.01179, allocations: 41.59 kB / 0.5237 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003222/0.01211, allocations: 123.8 kB / 0.5238 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002268/0.01234, allocations: 59.86 kB / 0.5239 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.117e-05/0.01241, allocations: 20 kB / 0.5239 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.01367, allocations: 412.8 kB / 0.5243 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.294e-05/0.01374, allocations: 39.89 kB / 0.5243 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.01388, allocations: 72.8 kB / 0.5244 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.01505, allocations: 494.5 kB / 0.5249 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.83e-06/0.01506, allocations: 0 / 0.5249 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.274e-06/0.01506, allocations: 0.9062 kB / 0.5249 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.01507, allocations: 0 / 0.5249 GB, free: 13.2 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.00138/0.01645, allocations: 451.8 kB / 0.5253 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.0165, allocations: 8.031 kB / 0.5253 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008403/0.01734, allocations: 103.9 kB / 0.5254 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.01752, allocations: 121.6 kB / 0.5255 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.01766, allocations: 78.97 kB / 0.5256 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.457e-05/0.01771, allocations: 12.38 kB / 0.5256 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006883/0.0184, allocations: 246 kB / 0.5259 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.01841, allocations: 192 / 0.5259 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.975e-05/0.01845, allocations: 8.375 kB / 0.5259 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.01846, allocations: 8.125 kB / 0.5259 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004639/0.01893, allocations: 134.9 kB / 0.526 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00201/0.02094, allocations: 0.5913 MB / 0.5266 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002807/0.02374, allocations: 325.7 kB / 0.5269 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000339/0.02408, allocations: 80.75 kB / 0.527 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006352/0.02472, allocations: 69.3 kB / 0.527 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.02476, allocations: 35.5 kB / 0.5271 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 2.224e-06/0.02476, allocations: 0 / 0.5271 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.002374/0.02714, allocations: 396.3 kB / 0.5274 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.0272, allocations: 55.41 kB / 0.5275 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.02738, allocations: 129.4 kB / 0.5276 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.846e-05/0.02743, allocations: 31.77 kB / 0.5276 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.02756, allocations: 124.3 kB / 0.5278 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.805e-05/0.02765, allocations: 55.58 kB / 0.5278 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.02777, allocations: 37.7 kB / 0.5279 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002241/0.02799, allocations: 322.8 kB / 0.5282 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/0.02831, allocations: 77.36 kB / 0.5282 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/0.02862, allocations: 86.88 kB / 0.5283 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005995/0.02922, allocations: 158 kB / 0.5285 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.02922, allocations: 0.7188 kB / 0.5285 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001454/0.03067, allocations: 303.3 kB / 0.5288 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.03069, allocations: 4.594 kB / 0.5288 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.0307, allocations: 0.5938 kB / 0.5288 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007877/0.03149, allocations: 120.9 kB / 0.5289 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/0.03313, allocations: 107.3 kB / 0.529 GB, free: 8.828 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.0344, allocations: 0.6248 MB / 0.5296 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.03465, allocations: 21.27 kB / 0.5296 GB, free: 8.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.03467, allocations: 4 kB / 0.5296 GB, free: 8.156 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.0002109/0.03488, allocations: 130.6 kB / 0.5297 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.313e-05/0.03497, allocations: 15.95 kB / 0.5298 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.03623, allocations: 283.8 kB / 0.53 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.03624, allocations: 8.562 kB / 0.53 GB, free: 7.715 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.03624, allocations: 0 / 0.53 GB, free: 7.715 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.03625, allocations: 4.875 kB / 0.53 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002592/0.03884, allocations: 0.6658 MB / 0.5307 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.03885, allocations: 0 / 0.5307 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001733/0.04058, allocations: 89.81 kB / 0.5308 GB, free: 6.922 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007326/0.04131, allocations: 134 kB / 0.5309 GB, free: 6.793 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.04134, allocations: 4.5 kB / 0.5309 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/0.04262, allocations: 0.6254 MB / 0.5315 GB, free: 6.141 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.04262, allocations: 0 / 0.5315 GB, free: 6.141 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.04401, allocations: 365.1 kB / 0.5319 GB, free: 5.762 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.113e-05/0.04405, allocations: 17.56 kB / 0.5319 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.844e-05/0.0441, allocations: 8 kB / 0.5319 GB, free: 5.738 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003206/0.04442, allocations: 15.92 kB / 0.5319 GB, free: 5.723 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.555e-05/0.04448, allocations: 16.66 kB / 0.5319 GB, free: 5.707 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.04451, allocations: 4 kB / 0.5319 GB, free: 5.703 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001171/0.04463, allocations: 99.52 kB / 0.532 GB, free: 5.609 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.04463, allocations: 0 / 0.532 GB, free: 5.609 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0007693/0.0454, allocations: 135.5 kB / 0.5322 GB, free: 5.477 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.0007963/0.04619, allocations: 241.7 kB / 0.5324 GB, free: 5.234 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001263/0.04746, allocations: 223.5 kB / 0.5326 GB, free: 5.02 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.04746, allocations: 0 / 0.5326 GB, free: 5.02 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008136/0.04827, allocations: 129.9 kB / 0.5327 GB, free: 4.895 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005776/0.04885, allocations: 47.02 kB / 0.5328 GB, free: 4.852 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.04993, allocations: 331.3 kB / 0.5331 GB, free: 4.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.05007, allocations: 92.38 kB / 0.5332 GB, free: 4.387 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001415/0.05021, allocations: 24.31 kB / 0.5332 GB, free: 4.375 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.491e-05/0.05029, allocations: 16.5 kB / 0.5332 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/0.05029, allocations: 0 / 0.5332 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of Templates: time 0.01292/0.0632, allocations: 4.474 MB / 0.5376 GB, free: 52 kB / 0.4948 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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.142347689019516]