Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 109.9 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001116, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8133/0.8133, allocations: 132.2 MB / 423.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.56 kB / 0.582 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1702, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.5841/0.7543, allocations: 130.8 MB / 0.7881 GB, free: 19.71 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03798/0.7923, allocations: 25.05 MB / 0.8125 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007665/0.8, allocations: 139 kB / 0.8127 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.006023/0.8061, allocations: 1.731 MB / 0.8144 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01511/0.8212, allocations: 4.55 MB / 0.8188 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01039/0.8316, allocations: 3.508 MB / 0.8222 GB, free: 168 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01484/0.8465, allocations: 9.008 MB / 0.831 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008267/0.8548, allocations: 3.214 MB / 0.8342 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01266/0.8675, allocations: 3.527 MB / 0.8376 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007986/0.8755, allocations: 2.485 MB / 0.84 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001899/0.8775, allocations: 388 kB / 0.8404 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01478/0.8923, allocations: 2.886 MB / 0.8432 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002772/0.8951, allocations: 0.8994 MB / 0.8441 GB, free: 280 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.006514/0.9017, allocations: 1.995 MB / 0.8461 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02055/0.9223, allocations: 6.379 MB / 0.8523 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-05/0.9224, allocations: 0 / 0.8523 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.319e-06/0.9224, allocations: 0 / 0.8523 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002922/0.9227, allocations: 0 / 0.8523 GB, free: 7.879 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.01783/0.9406, allocations: 4.099 MB / 0.8563 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.571e-05/0.9407, allocations: 12.03 kB / 0.8563 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01954/0.9602, allocations: 1.283 MB / 0.8576 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01097/0.9713, allocations: 2.977 MB / 0.8605 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005359/0.9719, allocations: 264 kB / 0.8607 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001128/0.973, allocations: 239.8 kB / 0.8609 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01553/0.9886, allocations: 3.156 MB / 0.864 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00012/0.9888, allocations: 7.938 kB / 0.864 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008007/0.9896, allocations: 103.9 kB / 0.8641 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001351/0.9897, allocations: 75.98 kB / 0.8642 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01758/1.007, allocations: 2.753 MB / 0.8669 GB, free: 8.516 MB / 0.6231 GB 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.02857/1.036, allocations: 13.56 MB / 0.8801 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004431/1.04, allocations: 1.399 MB / 0.8815 GB, free: 8.898 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002929/1.043, allocations: 0.8613 MB / 0.8823 GB, free: 8.035 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001864/1.045, allocations: 1.777 MB / 0.8841 GB, free: 5.871 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003597/1.049, allocations: 1.126 MB / 0.8852 GB, free: 4.676 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=126): time 3.707e-06/1.049, allocations: 0 / 0.8852 GB, free: 4.676 MB / 0.6387 GB Notification: Performance of matching and sorting (n=132): time 0.03184/1.081, allocations: 9.54 MB / 0.8945 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002877/1.081, allocations: 0.5805 MB / 0.8951 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004246/1.085, allocations: 2.647 MB / 0.8976 GB, free: 7.594 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003997/1.086, allocations: 57.7 kB / 0.8977 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001293/1.087, allocations: 1.339 MB / 0.899 GB, free: 6.18 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006508/1.088, allocations: 457.5 kB / 0.8994 GB, free: 5.727 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007446/1.088, allocations: 478.8 kB / 0.8999 GB, free: 5.25 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001185/1.089, allocations: 305.1 kB / 0.9002 GB, free: 4.949 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003551/1.092, allocations: 0.9337 MB / 0.9011 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004127/1.096, allocations: 1.518 MB / 0.9026 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006937/1.103, allocations: 2.17 MB / 0.9047 GB, free: 15.9 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.101e-05/1.103, allocations: 4 kB / 0.9047 GB, free: 15.89 MB / 0.67 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01172/1.115, allocations: 3.089 MB / 0.9077 GB, free: 12.78 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.373e-05/1.115, allocations: 37.7 kB / 0.9078 GB, free: 12.74 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.43e-05/1.115, allocations: 16.12 kB / 0.9078 GB, free: 12.72 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00296/1.118, allocations: 0.9117 MB / 0.9087 GB, free: 11.81 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002679/1.121, allocations: 459.2 kB / 0.9091 GB, free: 11.36 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003082/1.124, allocations: 2.165 MB / 0.9112 GB, free: 9.148 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004588/1.129, allocations: 279.6 kB / 0.9115 GB, free: 8.875 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003878/1.129, allocations: 107.9 kB / 0.9116 GB, free: 8.77 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004698/1.134, allocations: 1.434 MB / 0.913 GB, free: 7.332 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003969/1.138, allocations: 1.503 MB / 0.9145 GB, free: 5.59 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006711/1.144, allocations: 2.134 MB / 0.9165 GB, free: 3.281 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.287e-05/1.144, allocations: 4 kB / 0.9165 GB, free: 3.277 MB / 0.67 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.01167/1.156, allocations: 3.073 MB / 0.9195 GB, free: 184 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.023e-05/1.156, allocations: 37.7 kB / 0.9196 GB, free: 140 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/1.156, allocations: 12 kB / 0.9196 GB, free: 128 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002909/1.159, allocations: 0.9268 MB / 0.9205 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002645/1.162, allocations: 455.2 kB / 0.9209 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003157/1.165, allocations: 2.171 MB / 0.9231 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004381/1.169, allocations: 288 kB / 0.9233 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000254/1.17, allocations: 107.9 kB / 0.9234 GB, free: 12.15 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(4,23), (4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.00062/1.17, allocations: 291.8 kB / 0.9237 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008067/1.171, allocations: 284.8 kB / 0.924 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007481/1.179, allocations: 2.249 MB / 0.9262 GB, free: 9.309 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.281e-05/1.179, allocations: 12 kB / 0.9262 GB, free: 9.297 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/1.179, allocations: 4 kB / 0.9262 GB, free: 9.293 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006059/1.185, allocations: 1.861 MB / 0.928 GB, free: 7.375 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01465/1.199, allocations: 6.206 MB / 0.9341 GB, free: 0.9961 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-05/1.199, allocations: 4 kB / 0.9341 GB, free: 0.9922 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001776/1.201, allocations: 288.2 kB / 0.9343 GB, free: 0.7109 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002538/1.204, allocations: 0.7808 MB / 0.9351 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001512/1.204, allocations: 51.94 kB / 0.9352 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002604/1.207, allocations: 1.959 MB / 0.9371 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/1.207, allocations: 8 kB / 0.9371 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01168/1.218, allocations: 3.456 MB / 0.9405 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001741/1.22, allocations: 0.5717 MB / 0.941 GB, free: 9.699 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005619/1.221, allocations: 39.98 kB / 0.9411 GB, free: 9.66 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003056/1.224, allocations: 207.8 kB / 0.9413 GB, free: 9.457 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002251/1.224, allocations: 120.6 kB / 0.9414 GB, free: 9.336 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001564/1.224, allocations: 75.92 kB / 0.9414 GB, free: 9.262 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003207/1.227, allocations: 1.859 MB / 0.9433 GB, free: 7.402 MB / 0.7012 GB Notification: Performance of sort global known variables: time 5.01e-07/1.227, allocations: 0 / 0.9433 GB, free: 7.402 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.004798/1.232, allocations: 1.496 MB / 0.9447 GB, free: 5.906 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,17), (4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001737/1.234, allocations: 0.8217 MB / 0.9455 GB, free: 5.09 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01197/1.246, allocations: 3.614 MB / 0.949 GB, free: 1.457 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.707e-05/1.246, allocations: 4.438 kB / 0.9491 GB, free: 1.453 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003411/1.249, allocations: 0.9846 MB / 0.95 GB, free: 480 kB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00749/1.257, allocations: 1.593 MB / 0.9516 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/1.269, allocations: 5.135 MB / 0.9566 GB, free: 9.691 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001364/1.27, allocations: 1.716 MB / 0.9583 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/1.272, allocations: 275.2 kB / 0.9585 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of SimCode: time 1.022e-06/1.272, allocations: 0 / 0.9585 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of Templates: time 0.1163/1.388, allocations: 83.32 MB / 1.04 GB, free: 4.547 MB / 0.795 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)