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.001471/0.001471, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001744/0.001744, allocations: 170 kB / 23.27 MB, free: 1.223 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 0.9773/0.9773, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.8003/0.8003, allocations: 154.6 MB / 414.8 MB, free: 0.5 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.373e-06/1.373e-06, allocations: 0 / 0.5208 GB, free: 1.852 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.299e-05, allocations: 2.312 kB / 0.5208 GB, free: 1.848 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002141/0.002164, allocations: 2.064 MB / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001732/0.003896, allocations: 1.447 MB / 0.5242 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.831e-05/0.003955, allocations: 0 / 0.5242 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 5.559e-05/0.00401, allocations: 19.78 kB / 0.5242 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.87e-05/0.004099, allocations: 51.55 kB / 0.5243 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007861/0.004885, allocations: 344.7 kB / 0.5246 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.005088, allocations: 227 kB / 0.5248 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.005228, allocations: 35.12 kB / 0.5248 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.005363, allocations: 123.8 kB / 0.525 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.005503, allocations: 67.8 kB / 0.525 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.615e-05/0.005539, allocations: 16 kB / 0.525 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000533/0.006072, allocations: 357 kB / 0.5254 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.141e-05/0.006103, allocations: 39.89 kB / 0.5254 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.347e-05/0.006157, allocations: 69.52 kB / 0.5255 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004131/0.00657, allocations: 398.8 kB / 0.5259 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.006572, allocations: 3.938 kB / 0.5259 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.012e-06/0.006573, allocations: 0 / 0.5259 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.006577, allocations: 0 / 0.5259 GB, free: 12.64 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.0005375/0.007114, allocations: 0.5364 MB / 0.5264 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.00715, allocations: 14.28 kB / 0.5264 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002658/0.007416, allocations: 91.52 kB / 0.5265 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.888e-05/0.007505, allocations: 124.5 kB / 0.5266 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.575e-05/0.007571, allocations: 75.95 kB / 0.5267 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.007593, allocations: 20.36 kB / 0.5267 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.007811, allocations: 198.7 kB / 0.5269 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.007823, allocations: 1.594 kB / 0.5269 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.00784, allocations: 8.375 kB / 0.5269 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.007851, allocations: 8.125 kB / 0.5269 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.087e-05/0.007932, allocations: 58.08 kB / 0.527 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007902/0.008722, allocations: 0.58 MB / 0.5275 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006305/0.009353, allocations: 215 kB / 0.5277 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.857e-05/0.009401, allocations: 43.67 kB / 0.5278 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001847/0.009586, allocations: 71.06 kB / 0.5278 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.009609, allocations: 41.39 kB / 0.5279 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.009611, allocations: 0 / 0.5279 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0005808/0.01019, allocations: 239.5 kB / 0.5281 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.2e-05/0.01021, allocations: 51.41 kB / 0.5282 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.233e-05/0.0103, allocations: 189.3 kB / 0.5283 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.01032, allocations: 33.7 kB / 0.5284 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.619e-05/0.01038, allocations: 167 kB / 0.5285 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.01041, allocations: 51.53 kB / 0.5286 GB, free: 9.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-05/0.01046, allocations: 43.34 kB / 0.5286 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.01059, allocations: 0.4962 MB / 0.5291 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.342e-05/0.01064, allocations: 35.97 kB / 0.5291 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.567e-05/0.01069, allocations: 31.98 kB / 0.5292 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.0108, allocations: 93.11 kB / 0.5293 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.0108, allocations: 0 / 0.5293 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002863/0.01108, allocations: 193.1 kB / 0.5294 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.0111, allocations: 8 kB / 0.5295 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.0111, allocations: 0 / 0.5295 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002383/0.01134, allocations: 90.5 kB / 0.5295 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005023/0.01184, allocations: 99.89 kB / 0.5296 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003885/0.01223, allocations: 0.8164 MB / 0.5304 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.323e-05/0.01229, allocations: 25.91 kB / 0.5305 GB, free: 7.707 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.0123, allocations: 3.938 kB / 0.5305 GB, free: 7.703 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.621e-05/0.01239, allocations: 164.5 kB / 0.5306 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/0.01242, allocations: 20.56 kB / 0.5306 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003115/0.01273, allocations: 185.3 kB / 0.5308 GB, free: 7.32 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.01273, allocations: 4.719 kB / 0.5308 GB, free: 7.316 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.01274, allocations: 3.938 kB / 0.5308 GB, free: 7.312 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.01274, allocations: 4.516 kB / 0.5308 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006884/0.01343, allocations: 0.5529 MB / 0.5314 GB, free: 6.715 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.01343, allocations: 5.219 kB / 0.5314 GB, free: 6.711 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000476/0.01391, allocations: 98.2 kB / 0.5315 GB, free: 6.617 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001832/0.01409, allocations: 87.97 kB / 0.5316 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.0141, allocations: 8 kB / 0.5316 GB, free: 6.527 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000339/0.01444, allocations: 0.8173 MB / 0.5324 GB, free: 5.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01444, allocations: 4 kB / 0.5324 GB, free: 5.676 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002947/0.01474, allocations: 330.2 kB / 0.5327 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.018e-05/0.01475, allocations: 7.953 kB / 0.5327 GB, free: 5.316 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.01477, allocations: 8.969 kB / 0.5327 GB, free: 5.309 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.394e-05/0.01484, allocations: 7.984 kB / 0.5327 GB, free: 5.301 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.43e-05/0.01487, allocations: 16.45 kB / 0.5327 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.01488, allocations: 4 kB / 0.5327 GB, free: 5.281 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.566e-05/0.01492, allocations: 138.4 kB / 0.5329 GB, free: 5.148 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01492, allocations: 0 / 0.5329 GB, free: 5.148 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002706/0.01519, allocations: 132.1 kB / 0.533 GB, free: 5.02 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.0002938/0.01549, allocations: 243.4 kB / 0.5332 GB, free: 4.777 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002853/0.01577, allocations: 149 kB / 0.5334 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01578, allocations: 0 / 0.5334 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.01593, allocations: 85.5 kB / 0.5334 GB, free: 4.543 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.01614, allocations: 50.27 kB / 0.5335 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005935/0.01673, allocations: 307.3 kB / 0.5338 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.106e-05/0.01677, allocations: 75.69 kB / 0.5338 GB, free: 4.074 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.783e-05/0.01683, allocations: 15 kB / 0.5339 GB, free: 4.066 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.01694, allocations: 114.2 kB / 0.534 GB, free: 3.953 MB / 0.4948 GB Notification: Performance of SimCode: time 9.02e-07/0.01694, allocations: 0 / 0.534 GB, free: 3.953 MB / 0.4948 GB Notification: Performance of Templates: time 0.00603/0.02297, allocations: 5.024 MB / 0.5389 GB, free: 15.12 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.7239126372151077]