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.001094/0.001094, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.001398/0.001398, allocations: 173 kB / 23.49 MB, free: 1.055 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.9826/0.9826, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.8347/0.8347, allocations: 154.6 MB / 414.9 MB, free: 0.7031 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.803e-06/1.803e-06, allocations: 0 / 0.5203 GB, free: 2.535 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.047e-05/3.227e-05, allocations: 7.484 kB / 0.5203 GB, free: 2.531 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002757/0.002789, allocations: 2.076 MB / 0.5224 GB, free: 472 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.00482, allocations: 1.647 MB / 0.524 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.617e-05/0.004886, allocations: 4 kB / 0.524 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 5.511e-05/0.004941, allocations: 15.84 kB / 0.524 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.833e-05/0.00503, allocations: 52.25 kB / 0.524 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.006054, allocations: 361.6 kB / 0.5244 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.006273, allocations: 231 kB / 0.5246 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.006408, allocations: 41.58 kB / 0.5246 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.006538, allocations: 124.5 kB / 0.5248 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.006643, allocations: 63.86 kB / 0.5248 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.026e-05/0.006673, allocations: 20.78 kB / 0.5248 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000593/0.007266, allocations: 414.5 kB / 0.5252 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.6e-05/0.007302, allocations: 35.89 kB / 0.5253 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.598e-05/0.007368, allocations: 75.81 kB / 0.5254 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004933/0.007861, allocations: 410.8 kB / 0.5257 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.007864, allocations: 0 / 0.5257 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.71e-07/0.007865, allocations: 0 / 0.5257 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.007869, allocations: 0 / 0.5257 GB, free: 13.01 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.0006509/0.00852, allocations: 0.5438 MB / 0.5263 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.008557, allocations: 15.97 kB / 0.5263 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003374/0.008895, allocations: 95.67 kB / 0.5264 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.009003, allocations: 121.5 kB / 0.5265 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.9e-05/0.009092, allocations: 75.95 kB / 0.5266 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.009117, allocations: 17.59 kB / 0.5266 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002728/0.009389, allocations: 210.7 kB / 0.5268 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.006e-06/0.009398, allocations: 192 / 0.5268 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.00942, allocations: 16.94 kB / 0.5268 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.009431, allocations: 8.766 kB / 0.5268 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.009561, allocations: 76.55 kB / 0.5269 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008836/0.01044, allocations: 0.6092 MB / 0.5275 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007467/0.01119, allocations: 213.9 kB / 0.5277 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.383e-05/0.01127, allocations: 47.67 kB / 0.5277 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002239/0.0115, allocations: 69.48 kB / 0.5278 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.01153, allocations: 41.39 kB / 0.5278 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.01153, allocations: 0 / 0.5278 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0007297/0.01226, allocations: 264.9 kB / 0.5281 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.01229, allocations: 51.41 kB / 0.5281 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.01239, allocations: 189.1 kB / 0.5283 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.01241, allocations: 33.7 kB / 0.5283 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.001e-05/0.01248, allocations: 167 kB / 0.5285 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.01252, allocations: 55.53 kB / 0.5286 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.446e-05/0.01257, allocations: 45.64 kB / 0.5286 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.0127, allocations: 0.4923 MB / 0.5291 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.137e-05/0.01277, allocations: 39.98 kB / 0.5291 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.157e-05/0.01284, allocations: 51.97 kB / 0.5292 GB, free: 9.297 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.01298, allocations: 101.2 kB / 0.5293 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01298, allocations: 4 kB / 0.5293 GB, free: 9.191 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000345/0.01333, allocations: 213.4 kB / 0.5295 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.01334, allocations: 4.875 kB / 0.5295 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.01334, allocations: 4 kB / 0.5295 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002866/0.01363, allocations: 79.14 kB / 0.5296 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005393/0.01417, allocations: 105.4 kB / 0.5297 GB, free: 8.793 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004152/0.01459, allocations: 0.8195 MB / 0.5305 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.512e-05/0.01466, allocations: 23.83 kB / 0.5305 GB, free: 7.918 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.01467, allocations: 7.984 kB / 0.5305 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.603e-05/0.01476, allocations: 163 kB / 0.5306 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.01479, allocations: 23.84 kB / 0.5307 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000369/0.01516, allocations: 195.3 kB / 0.5309 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.01517, allocations: 7.938 kB / 0.5309 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.01517, allocations: 0 / 0.5309 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.01518, allocations: 0.75 kB / 0.5309 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007815/0.01596, allocations: 0.5928 MB / 0.5314 GB, free: 6.867 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.01596, allocations: 5.25 kB / 0.5314 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000522/0.01648, allocations: 94.73 kB / 0.5315 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002195/0.0167, allocations: 76.55 kB / 0.5316 GB, free: 6.699 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.01672, allocations: 19.91 kB / 0.5316 GB, free: 6.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000351/0.01707, allocations: 0.8178 MB / 0.5324 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.01707, allocations: 0 / 0.5324 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/0.01743, allocations: 343.7 kB / 0.5328 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.248e-05/0.01744, allocations: 11.95 kB / 0.5328 GB, free: 5.457 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.01747, allocations: 3.984 kB / 0.5328 GB, free: 5.453 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.539e-05/0.01755, allocations: 11.94 kB / 0.5328 GB, free: 5.441 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.01759, allocations: 17.31 kB / 0.5328 GB, free: 5.426 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.0176, allocations: 4 kB / 0.5328 GB, free: 5.422 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.789e-05/0.01764, allocations: 137.3 kB / 0.5329 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01764, allocations: 0 / 0.5329 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000298/0.01794, allocations: 132.1 kB / 0.5331 GB, free: 5.16 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.0003378/0.01828, allocations: 246.9 kB / 0.5333 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003749/0.01865, allocations: 161.1 kB / 0.5334 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01866, allocations: 0 / 0.5334 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001772/0.01883, allocations: 96.55 kB / 0.5335 GB, free: 4.656 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.01907, allocations: 38.75 kB / 0.5336 GB, free: 4.621 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007078/0.01978, allocations: 313.9 kB / 0.5339 GB, free: 4.285 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.195e-05/0.01982, allocations: 67.7 kB / 0.5339 GB, free: 4.199 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.526e-05/0.01988, allocations: 22.34 kB / 0.534 GB, free: 4.188 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.673e-05/0.01992, allocations: 16.5 kB / 0.534 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of SimCode: time 6.92e-07/0.01992, allocations: 0 / 0.534 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of Templates: time 0.006205/0.02613, allocations: 4.492 MB / 0.5384 GB, free: 15.87 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.933795350138098]