Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01075/0.01075, allocations: 101.4 kB / 15.73 MB, free: 6.035 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.001814/0.001814, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9777/0.9777, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 55.91 kB / 0.5856 GB, free: 3.391 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4828/0.4843, allocations: 80.91 MB / 0.6646 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.06089/0.5452, allocations: 61.19 MB / 0.7244 GB, free: 4.34 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01715/0.5624, allocations: 11.99 MB / 0.7361 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002256/0.5647, allocations: 55.69 kB / 0.7362 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002131/0.5669, allocations: 0.7025 MB / 0.7368 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005574/0.5725, allocations: 2.06 MB / 0.7388 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003125/0.5756, allocations: 1.214 MB / 0.74 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0044/0.5801, allocations: 3.093 MB / 0.7431 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001871/0.5819, allocations: 1.12 MB / 0.7441 GB, free: 24 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003171/0.5851, allocations: 1.375 MB / 0.7455 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001624/0.5868, allocations: 0.914 MB / 0.7464 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003133/0.5871, allocations: 120 kB / 0.7465 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002993/0.5901, allocations: 1.454 MB / 0.7479 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004315/0.5905, allocations: 294.8 kB / 0.7482 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001105/0.5917, allocations: 0.7036 MB / 0.7489 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003729/0.5954, allocations: 2.335 MB / 0.7512 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.5954, allocations: 0 / 0.7512 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5954, allocations: 0 / 0.7512 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5e-05/0.5955, allocations: 8 kB / 0.7512 GB, free: 8.812 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.00366/0.5991, allocations: 1.742 MB / 0.7529 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.5992, allocations: 8.031 kB / 0.7529 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002674/0.6019, allocations: 462.4 kB / 0.7533 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002508/0.6044, allocations: 1.167 MB / 0.7545 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.123e-05/0.6045, allocations: 62 kB / 0.7545 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.6046, allocations: 84 kB / 0.7546 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002317/0.607, allocations: 1.002 MB / 0.7556 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.607, allocations: 0 / 0.7556 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.583e-05/0.6071, allocations: 32 kB / 0.7556 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.6071, allocations: 19.94 kB / 0.7556 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002662/0.6098, allocations: 0.9328 MB / 0.7565 GB, free: 3.164 MB / 0.5762 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.006674/0.6165, allocations: 4.671 MB / 0.7611 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004085/0.6206, allocations: 0.9969 MB / 0.7621 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/0.6217, allocations: 401.9 kB / 0.7625 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009847/0.6227, allocations: 1.021 MB / 0.7635 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.6227, allocations: 35 kB / 0.7635 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.335e-06/0.6227, allocations: 0 / 0.7635 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53): time 0.007575/0.6303, allocations: 1.912 MB / 0.7654 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.6304, allocations: 55.84 kB / 0.7654 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/0.6319, allocations: 0.9513 MB / 0.7663 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.927e-05/0.632, allocations: 37.7 kB / 0.7664 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00046/0.6325, allocations: 0.5042 MB / 0.7669 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000214/0.6327, allocations: 189.2 kB / 0.7671 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002497/0.633, allocations: 122.1 kB / 0.7672 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.6331, allocations: 330 kB / 0.7675 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.6342, allocations: 354.9 kB / 0.7678 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/0.6354, allocations: 0.5069 MB / 0.7683 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002099/0.6375, allocations: 0.7502 MB / 0.769 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.6375, allocations: 0 / 0.769 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003104/0.6406, allocations: 1.053 MB / 0.7701 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.659e-05/0.6407, allocations: 8 kB / 0.7701 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.6407, allocations: 7.984 kB / 0.7701 GB, free: 4.512 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/0.642, allocations: 300.8 kB / 0.7704 GB, free: 4.215 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006338/0.6426, allocations: 127.8 kB / 0.7705 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/0.6441, allocations: 0.888 MB / 0.7714 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/0.6452, allocations: 131.2 kB / 0.7715 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.522e-05/0.6453, allocations: 35.92 kB / 0.7715 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001395/0.6467, allocations: 0.5532 MB / 0.7721 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001167/0.6479, allocations: 0.4991 MB / 0.7726 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002063/0.6499, allocations: 0.7462 MB / 0.7733 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.255e-06/0.6499, allocations: 0 / 0.7733 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003004/0.653, allocations: 1.041 MB / 0.7743 GB, free: 64 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.653, allocations: 12.31 kB / 0.7743 GB, free: 52 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.653, allocations: 4 kB / 0.7743 GB, free: 48 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/0.6541, allocations: 295.2 kB / 0.7746 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006482/0.6548, allocations: 131.8 kB / 0.7747 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/0.6562, allocations: 0.8918 MB / 0.7756 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.6574, allocations: 103.6 kB / 0.7757 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.781e-05/0.6575, allocations: 31.98 kB / 0.7757 GB, free: 14.58 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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 {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002648/0.6577, allocations: 216.1 kB / 0.7759 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002893/0.658, allocations: 114.6 kB / 0.776 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003261/0.6613, allocations: 1.147 MB / 0.7772 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/0.6613, allocations: 8 kB / 0.7772 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.6614, allocations: 4 kB / 0.7772 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.6614, allocations: 3.984 kB / 0.7772 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004987/0.6664, allocations: 2.249 MB / 0.7794 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/0.6664, allocations: 0 / 0.7794 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005659/0.667, allocations: 104 kB / 0.7795 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009971/0.668, allocations: 288.5 kB / 0.7797 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.423e-05/0.668, allocations: 16 kB / 0.7798 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001593/0.6696, allocations: 0.9215 MB / 0.7807 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/0.6697, allocations: 16.02 kB / 0.7807 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003901/0.6736, allocations: 1.284 MB / 0.7819 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006438/0.6742, allocations: 275.5 kB / 0.7822 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002423/0.6745, allocations: 12 kB / 0.7822 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009611/0.6755, allocations: 75.91 kB / 0.7823 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.6756, allocations: 52.25 kB / 0.7823 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.697e-05/0.6757, allocations: 27.98 kB / 0.7824 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00139/0.6771, allocations: 0.6675 MB / 0.783 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6771, allocations: 0 / 0.783 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001743/0.6788, allocations: 0.5769 MB / 0.7836 GB, free: 6.355 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009714/0.6798, allocations: 383.3 kB / 0.7839 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004142/0.684, allocations: 1.303 MB / 0.7852 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.684, allocations: 0 / 0.7852 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001306/0.6853, allocations: 452.8 kB / 0.7856 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/0.6877, allocations: 0.4936 MB / 0.7861 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00423/0.692, allocations: 1.886 MB / 0.788 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007203/0.6927, allocations: 1.066 MB / 0.789 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008842/0.6936, allocations: 224.4 kB / 0.7892 GB, free: 496 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002335/0.6938, allocations: 83.41 kB / 0.7893 GB, free: 412 kB / 0.6075 GB Notification: Performance of SimCode: time 5.21e-07/0.6938, allocations: 0 / 0.7893 GB, free: 412 kB / 0.6075 GB Notification: Performance of Templates: time 0.03851/0.7323, allocations: 24.81 MB / 0.8135 GB, free: 7.898 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)