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.0006716/0.0006716, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009293/0.001601, allocations: 435.8 kB / 10.33 MB, free: 368 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.001072/0.001072, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001332/0.002404, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9558/0.9558, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09522/1.051, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.7916/0.7916, allocations: 154.6 MB / 398.5 MB, free: 0.5156 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2838/1.075, allocations: 49.04 MB / 447.6 MB, free: 6.742 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.352e-06/1.352e-06, allocations: 0 / 448.9 MB, free: 5.449 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/2.016e-05, allocations: 2.312 kB / 448.9 MB, free: 5.445 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002528/0.002548, allocations: 2.125 MB / 451 MB, free: 3.359 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.004012, allocations: 1.466 MB / 452.5 MB, free: 1.918 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.295e-05/0.004055, allocations: 4.875 kB / 452.5 MB, free: 1.914 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.882e-05/0.004093, allocations: 15.8 kB / 452.5 MB, free: 1.898 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.266e-05/0.004156, allocations: 58.17 kB / 452.6 MB, free: 1.844 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005023/0.004658, allocations: 317.2 kB / 452.9 MB, free: 1.535 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.004833, allocations: 231 kB / 453.1 MB, free: 1.309 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.829e-05/0.004932, allocations: 38.31 kB / 453.1 MB, free: 1.273 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.005044, allocations: 135.6 kB / 453.3 MB, free: 1.141 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.33e-05/0.005138, allocations: 72.73 kB / 453.3 MB, free: 1.07 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.005161, allocations: 16 kB / 453.4 MB, free: 1.055 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004533/0.005614, allocations: 376.9 kB / 453.7 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.677e-05/0.005641, allocations: 31.88 kB / 453.7 MB, free: 0.6562 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.689e-05/0.005688, allocations: 51.94 kB / 453.8 MB, free: 0.6055 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003443/0.006032, allocations: 347.8 kB / 454.1 MB, free: 272 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.00604, allocations: 0 / 454.1 MB, free: 272 kB / 426.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.006041, allocations: 0.6875 kB / 454.1 MB, free: 272 kB / 426.7 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.006053, allocations: 0 / 454.1 MB, free: 272 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.0004681/0.006521, allocations: 487.3 kB / 454.6 MB, free: 15.76 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.006551, allocations: 8.031 kB / 454.6 MB, free: 15.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002308/0.006781, allocations: 155.8 kB / 454.8 MB, free: 15.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.391e-05/0.006845, allocations: 117.6 kB / 454.9 MB, free: 15.45 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.388e-05/0.006899, allocations: 80.22 kB / 455 MB, free: 15.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.006916, allocations: 16.38 kB / 455 MB, free: 15.34 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.007097, allocations: 201 kB / 455.2 MB, free: 15.13 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.007103, allocations: 1.344 kB / 455.2 MB, free: 15.13 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.007115, allocations: 6.344 kB / 455.2 MB, free: 15.12 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.00712, allocations: 8.125 kB / 455.2 MB, free: 15.12 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.896e-05/0.007189, allocations: 63.25 kB / 455.3 MB, free: 15.06 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005711/0.00776, allocations: 439.7 kB / 455.7 MB, free: 14.61 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005171/0.008277, allocations: 193.6 kB / 455.9 MB, free: 14.42 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.141e-05/0.008319, allocations: 37.52 kB / 455.9 MB, free: 14.38 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001613/0.00848, allocations: 66.86 kB / 456 MB, free: 14.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.008496, allocations: 30.56 kB / 456 MB, free: 14.28 MB / 442.7 MB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.008497, allocations: 0.625 kB / 456 MB, free: 14.28 MB / 442.7 MB Notification: Performance of matching and sorting (n=15): time 0.000456/0.008953, allocations: 200.8 kB / 456.2 MB, free: 14.07 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.044e-05/0.008974, allocations: 52 kB / 456.3 MB, free: 14.01 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.074e-05/0.009035, allocations: 134.9 kB / 456.4 MB, free: 13.87 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.009051, allocations: 26.52 kB / 456.4 MB, free: 13.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.243e-05/0.009094, allocations: 124.3 kB / 456.5 MB, free: 13.71 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.00912, allocations: 53.3 kB / 456.6 MB, free: 13.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.009164, allocations: 37.69 kB / 456.6 MB, free: 13.62 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.22e-05/0.009226, allocations: 330.7 kB / 456.9 MB, free: 13.29 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.569e-05/0.009262, allocations: 24 kB / 457 MB, free: 13.26 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.693e-05/0.009299, allocations: 35.94 kB / 457 MB, free: 13.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.021e-05/0.009379, allocations: 75.95 kB / 457.1 MB, free: 13.15 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.009381, allocations: 0.8438 kB / 457.1 MB, free: 13.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002157/0.009596, allocations: 155.8 kB / 457.2 MB, free: 12.99 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.009607, allocations: 5.625 kB / 457.2 MB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.009611, allocations: 0 / 457.2 MB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002169/0.009828, allocations: 80.19 kB / 457.3 MB, free: 12.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005097/0.01034, allocations: 120.4 kB / 457.4 MB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002508/0.01059, allocations: 0.5451 MB / 458 MB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.171e-05/0.01065, allocations: 25.19 kB / 458 MB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.01066, allocations: 0 / 458 MB, free: 12.2 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 6.548e-05/0.01072, allocations: 119.8 kB / 458.1 MB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.01075, allocations: 15.98 kB / 458.1 MB, free: 12.06 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002557/0.011, allocations: 167.9 kB / 458.3 MB, free: 11.89 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.01101, allocations: 5.406 kB / 458.3 MB, free: 11.89 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.01101, allocations: 0 / 458.3 MB, free: 11.89 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.01101, allocations: 7.922 kB / 458.3 MB, free: 11.88 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005517/0.01156, allocations: 434 kB / 458.7 MB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01157, allocations: 0.8438 kB / 458.7 MB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000488/0.01205, allocations: 113.3 kB / 458.8 MB, free: 11.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.306e-05/0.01207, allocations: 19.81 kB / 458.9 MB, free: 11.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000165/0.01223, allocations: 74.25 kB / 458.9 MB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.01224, allocations: 3.984 kB / 458.9 MB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002393/0.01248, allocations: 0.5535 MB / 459.5 MB, free: 10.65 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.01248, allocations: 0 / 459.5 MB, free: 10.65 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.01271, allocations: 244.2 kB / 459.7 MB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.01273, allocations: 4 kB / 459.7 MB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.904e-05/0.0128, allocations: 8 kB / 459.7 MB, free: 10.38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.147e-05/0.01282, allocations: 16.53 kB / 459.8 MB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.01283, allocations: 4.688 kB / 459.8 MB, free: 10.36 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.784e-05/0.01285, allocations: 27.97 kB / 459.8 MB, free: 10.33 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01285, allocations: 0.5625 kB / 459.8 MB, free: 10.33 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002242/0.01307, allocations: 131.5 kB / 459.9 MB, free: 10.2 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.0003236/0.0134, allocations: 236.5 kB / 460.2 MB, free: 9.969 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002614/0.01366, allocations: 123 kB / 460.3 MB, free: 9.848 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.01366, allocations: 4.781 kB / 460.3 MB, free: 9.844 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.0138, allocations: 82.66 kB / 460.4 MB, free: 9.762 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.01397, allocations: 49.44 kB / 460.4 MB, free: 9.715 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/0.01613, allocations: 318.1 kB / 460.7 MB, free: 9.379 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.81e-05/0.01617, allocations: 68.47 kB / 460.8 MB, free: 9.293 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.295e-05/0.01623, allocations: 22.28 kB / 460.8 MB, free: 9.277 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.929e-05/0.01632, allocations: 79.34 kB / 460.9 MB, free: 9.199 MB / 442.7 MB Notification: Performance of SimCode: time 4.9e-07/0.01632, allocations: 0 / 460.9 MB, free: 9.199 MB / 442.7 MB Notification: Performance of Templates: time 0.006039/0.02236, allocations: 5.126 MB / 466 MB, free: 4.449 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.6468692189082503]