Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.001179, allocations: 182.3 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6866/0.6866, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 403.4 MB, free: 7.059 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 99.02 kB / 484.3 MB, free: 8.707 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000985/0.000985, allocations: 55.91 kB / 0.5618 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1225, allocations: 80.21 MB / 0.6402 GB, free: 6.777 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.4127/0.5353, allocations: 69.48 MB / 0.708 GB, free: 19.78 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.02559/0.5609, allocations: 14.53 MB / 0.7222 GB, free: 18.56 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003052/0.564, allocations: 67.72 kB / 0.7223 GB, free: 18.54 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00281/0.5668, allocations: 0.7588 MB / 0.723 GB, free: 18.16 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008125/0.575, allocations: 2.338 MB / 0.7253 GB, free: 17.14 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004664/0.5797, allocations: 1.781 MB / 0.727 GB, free: 16.3 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.007594/0.5873, allocations: 5.894 MB / 0.7328 GB, free: 14.15 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002178/0.5895, allocations: 1.329 MB / 0.7341 GB, free: 13.59 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003179/0.5927, allocations: 1.501 MB / 0.7356 GB, free: 13.01 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00214/0.5948, allocations: 1.245 MB / 0.7368 GB, free: 12.56 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003577/0.5952, allocations: 87.59 kB / 0.7369 GB, free: 12.56 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003981/0.5992, allocations: 1.763 MB / 0.7386 GB, free: 11.88 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004562/0.5997, allocations: 367.3 kB / 0.7389 GB, free: 11.61 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001339/0.601, allocations: 0.9079 MB / 0.7398 GB, free: 11.05 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004185/0.6052, allocations: 3.425 MB / 0.7432 GB, free: 8.891 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.6052, allocations: 0 / 0.7432 GB, free: 8.891 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.6052, allocations: 0 / 0.7432 GB, free: 8.891 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.105e-05/0.6053, allocations: 7.938 kB / 0.7432 GB, free: 8.883 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004021/0.6093, allocations: 2.304 MB / 0.7454 GB, free: 7.176 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.6094, allocations: 10.38 kB / 0.7454 GB, free: 7.176 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005269/0.6147, allocations: 0.6936 MB / 0.7461 GB, free: 6.875 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001991/0.6167, allocations: 1.561 MB / 0.7476 GB, free: 5.645 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.6168, allocations: 129.1 kB / 0.7478 GB, free: 5.566 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.6169, allocations: 114.8 kB / 0.7479 GB, free: 5.531 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003357/0.6203, allocations: 1.669 MB / 0.7495 GB, free: 4.434 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.6203, allocations: 3.094 kB / 0.7495 GB, free: 4.434 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/0.6205, allocations: 52.31 kB / 0.7495 GB, free: 4.395 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.475e-05/0.6205, allocations: 40.72 kB / 0.7496 GB, free: 4.387 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004375/0.6249, allocations: 1.478 MB / 0.751 GB, free: 3.637 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007962/0.6329, allocations: 7.272 MB / 0.7581 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002311/0.6352, allocations: 0.8175 MB / 0.7589 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001691/0.6369, allocations: 0.51 MB / 0.7594 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00119/0.6381, allocations: 1.266 MB / 0.7607 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.6381, allocations: 43.78 kB / 0.7607 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=70): time 2.214e-06/0.6382, allocations: 3.938 kB / 0.7607 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of matching and sorting (n=70): time 0.03011/0.6683, allocations: 4.138 MB / 0.7648 GB, free: 5.582 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.6683, allocations: 119.4 kB / 0.7649 GB, free: 5.441 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/0.6703, allocations: 1.363 MB / 0.7662 GB, free: 4.066 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.185e-05/0.6703, allocations: 41.7 kB / 0.7662 GB, free: 4.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005422/0.6709, allocations: 0.6838 MB / 0.7669 GB, free: 3.332 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/0.6711, allocations: 246.9 kB / 0.7671 GB, free: 3.094 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003584/0.6715, allocations: 226.3 kB / 0.7674 GB, free: 2.867 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.6716, allocations: 338 kB / 0.7677 GB, free: 2.531 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001939/0.6735, allocations: 0.5083 MB / 0.7682 GB, free: 2.023 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002127/0.6757, allocations: 0.7723 MB / 0.7689 GB, free: 1.148 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003629/0.6793, allocations: 1.137 MB / 0.77 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.6793, allocations: 4 kB / 0.77 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.005062/0.6844, allocations: 1.585 MB / 0.7716 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.6845, allocations: 11.94 kB / 0.7716 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.6845, allocations: 8 kB / 0.7716 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001921/0.6864, allocations: 0.564 MB / 0.7722 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.6877, allocations: 239.6 kB / 0.7724 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001882/0.6896, allocations: 1.162 MB / 0.7735 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002233/0.6918, allocations: 258.6 kB / 0.7738 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.6919, allocations: 64.06 kB / 0.7738 GB, free: 12 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002333/0.6943, allocations: 0.7946 MB / 0.7746 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002113/0.6964, allocations: 0.7705 MB / 0.7754 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003647/0.7001, allocations: 1.152 MB / 0.7765 GB, free: 9.09 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.175e-06/0.7001, allocations: 0 / 0.7765 GB, free: 9.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.005101/0.7052, allocations: 1.578 MB / 0.778 GB, free: 7.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.7052, allocations: 16 kB / 0.778 GB, free: 7.484 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.7053, allocations: 8 kB / 0.778 GB, free: 7.477 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001923/0.7072, allocations: 0.5629 MB / 0.7786 GB, free: 6.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.7086, allocations: 235.6 kB / 0.7788 GB, free: 6.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/0.7107, allocations: 1.17 MB / 0.78 GB, free: 5.484 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002862/0.7136, allocations: 223.3 kB / 0.7802 GB, free: 5.266 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.7137, allocations: 51.95 kB / 0.7802 GB, free: 5.215 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (heaPum.com.isOn,$PRE.heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * 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 {(4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0003911/0.7141, allocations: 236 kB / 0.7805 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004097/0.7145, allocations: 150.2 kB / 0.7806 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004509/0.719, allocations: 1.366 MB / 0.7819 GB, free: 3.445 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.7191, allocations: 7.938 kB / 0.7819 GB, free: 3.438 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.7191, allocations: 128 / 0.7819 GB, free: 3.438 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003752/0.7228, allocations: 1.176 MB / 0.7831 GB, free: 2.227 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007758/0.7306, allocations: 3.46 MB / 0.7865 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.7306, allocations: 4 kB / 0.7865 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008628/0.7315, allocations: 139.9 kB / 0.7866 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001845/0.7334, allocations: 0.5512 MB / 0.7871 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.86e-05/0.7334, allocations: 27.91 kB / 0.7872 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/0.7353, allocations: 1.15 MB / 0.7883 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/0.7353, allocations: 11.94 kB / 0.7883 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006696/0.742, allocations: 2.783 MB / 0.791 GB, free: 9.766 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007156/0.7428, allocations: 363 kB / 0.7914 GB, free: 9.391 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002664/0.743, allocations: 20 kB / 0.7914 GB, free: 9.371 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001819/0.7449, allocations: 143.7 kB / 0.7915 GB, free: 9.23 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.745, allocations: 56.3 kB / 0.7916 GB, free: 9.176 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.7451, allocations: 43.95 kB / 0.7916 GB, free: 9.133 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001643/0.7468, allocations: 0.9615 MB / 0.7926 GB, free: 8.172 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7468, allocations: 3.938 kB / 0.7926 GB, free: 8.168 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002749/0.7495, allocations: 0.9279 MB / 0.7935 GB, free: 7.238 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001238/0.7508, allocations: 0.5383 MB / 0.794 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006609/0.7574, allocations: 1.842 MB / 0.7958 GB, free: 4.891 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.7574, allocations: 0 / 0.7958 GB, free: 4.891 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001925/0.7594, allocations: 0.5379 MB / 0.7963 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003907/0.7633, allocations: 0.7841 MB / 0.7971 GB, free: 3.582 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006979/0.7703, allocations: 3.593 MB / 0.8006 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008108/0.7711, allocations: 1.227 MB / 0.8018 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001713/0.7728, allocations: 329.8 kB / 0.8021 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003275/0.7732, allocations: 127.3 kB / 0.8022 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of SimCode: time 5.31e-07/0.7732, allocations: 4 kB / 0.8022 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of Templates: time 0.05805/0.8312, allocations: 39.08 MB / 0.8404 GB, free: 7.496 MB / 0.573 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)