Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_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.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 106.6 kB / 16.41 MB, free: 6.508 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.001377/0.001377, allocations: 187 kB / 17.34 MB, free: 5.742 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8374/0.8374, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 68.45 kB / 0.5863 GB, free: 21.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1775, allocations: 80.92 MB / 0.6653 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.06785/0.2454, allocations: 61.19 MB / 0.7251 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01821/0.2637, allocations: 11.98 MB / 0.7368 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002759/0.2665, allocations: 55.69 kB / 0.7368 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002541/0.2691, allocations: 0.6829 MB / 0.7375 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006871/0.276, allocations: 1.963 MB / 0.7394 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003947/0.2799, allocations: 1.216 MB / 0.7406 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005441/0.2854, allocations: 3.086 MB / 0.7436 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002245/0.2877, allocations: 1.128 MB / 0.7447 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003885/0.2916, allocations: 1.356 MB / 0.746 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002098/0.2937, allocations: 0.9178 MB / 0.7469 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004532/0.2942, allocations: 120 kB / 0.747 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004039/0.2982, allocations: 1.447 MB / 0.7484 GB, free: 364 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005834/0.2988, allocations: 294.9 kB / 0.7487 GB, free: 68 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.4288/0.7276, allocations: 0.6974 MB / 0.7494 GB, free: 23.41 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005067/0.7327, allocations: 2.334 MB / 0.7517 GB, free: 23.36 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.7328, allocations: 1.547 kB / 0.7517 GB, free: 23.36 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7328, allocations: 0 / 0.7517 GB, free: 23.36 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.266e-05/0.7328, allocations: 1 kB / 0.7517 GB, free: 23.36 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.003894/0.7367, allocations: 1.737 MB / 0.7534 GB, free: 22.5 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.7368, allocations: 10.73 kB / 0.7534 GB, free: 22.5 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002752/0.7395, allocations: 456.2 kB / 0.7538 GB, free: 22.43 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002509/0.7421, allocations: 1.174 MB / 0.755 GB, free: 22.05 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.335e-05/0.7422, allocations: 65.28 kB / 0.755 GB, free: 22.05 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.7423, allocations: 81.16 kB / 0.7551 GB, free: 22.05 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002559/0.7449, allocations: 0.9985 MB / 0.7561 GB, free: 21.93 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.7449, allocations: 0.625 kB / 0.7561 GB, free: 21.93 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.638e-05/0.745, allocations: 34.75 kB / 0.7561 GB, free: 21.92 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.653e-05/0.745, allocations: 19.56 kB / 0.7561 GB, free: 21.92 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002837/0.7479, allocations: 0.9396 MB / 0.7571 GB, free: 21.9 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.007289/0.7552, allocations: 4.662 MB / 0.7616 GB, free: 19.52 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004562/0.7598, allocations: 0.9883 MB / 0.7626 GB, free: 19.48 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/0.7609, allocations: 410.4 kB / 0.763 GB, free: 19.46 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008555/0.7618, allocations: 1.015 MB / 0.764 GB, free: 18.33 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.7619, allocations: 38.41 kB / 0.764 GB, free: 18.29 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.986e-06/0.7619, allocations: 0 / 0.764 GB, free: 18.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.01023/0.7721, allocations: 2.163 MB / 0.7661 GB, free: 18.03 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.7722, allocations: 57.22 kB / 0.7662 GB, free: 17.96 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/0.7737, allocations: 0.954 MB / 0.7671 GB, free: 17.81 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001252/0.7739, allocations: 36.7 kB / 0.7671 GB, free: 17.78 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003718/0.7742, allocations: 0.5076 MB / 0.7676 GB, free: 17.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.7744, allocations: 179.8 kB / 0.7678 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002342/0.7747, allocations: 129 kB / 0.7679 GB, free: 17.46 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.025e-05/0.7747, allocations: 328.4 kB / 0.7682 GB, free: 17.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/0.7758, allocations: 360.7 kB / 0.7686 GB, free: 17.14 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/0.777, allocations: 0.5134 MB / 0.7691 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002167/0.7792, allocations: 0.752 MB / 0.7698 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.7792, allocations: 1 kB / 0.7698 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003232/0.7825, allocations: 1.05 MB / 0.7708 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.7825, allocations: 14.62 kB / 0.7709 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.7825, allocations: 1.562 kB / 0.7709 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/0.7838, allocations: 306.4 kB / 0.7712 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006578/0.7845, allocations: 128.7 kB / 0.7713 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/0.7859, allocations: 0.9046 MB / 0.7722 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/0.7873, allocations: 122.5 kB / 0.7723 GB, free: 16.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.573e-05/0.7874, allocations: 29.53 kB / 0.7723 GB, free: 16.12 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001519/0.7889, allocations: 0.555 MB / 0.7728 GB, free: 16.03 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001135/0.79, allocations: 0.5103 MB / 0.7733 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001971/0.792, allocations: 0.7505 MB / 0.7741 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.998e-06/0.792, allocations: 2.594 kB / 0.7741 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003065/0.7951, allocations: 1.049 MB / 0.7751 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.7951, allocations: 6.938 kB / 0.7751 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.7951, allocations: 2.219 kB / 0.7751 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/0.7963, allocations: 291.3 kB / 0.7754 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000635/0.7969, allocations: 139.1 kB / 0.7755 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.7982, allocations: 0.8923 MB / 0.7764 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.7995, allocations: 114.6 kB / 0.7765 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.588e-05/0.7996, allocations: 33.52 kB / 0.7765 GB, free: 15.03 MB / 0.5762 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.0002654/0.7999, allocations: 208.7 kB / 0.7767 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002206/0.8001, allocations: 111.2 kB / 0.7768 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004588/0.8047, allocations: 1.303 MB / 0.7781 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/0.8047, allocations: 6.719 kB / 0.7781 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.8048, allocations: 0 / 0.7781 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.8048, allocations: 7 kB / 0.7781 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006617/0.8114, allocations: 2.414 MB / 0.7805 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.8114, allocations: 6.469 kB / 0.7805 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005681/0.812, allocations: 107.8 kB / 0.7806 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009901/0.813, allocations: 290.8 kB / 0.7809 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.355e-05/0.8131, allocations: 16.28 kB / 0.7809 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001284/0.8144, allocations: 0.9242 MB / 0.7818 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.8144, allocations: 3.375 kB / 0.7818 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004344/0.8187, allocations: 1.327 MB / 0.7831 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007276/0.8195, allocations: 280.1 kB / 0.7834 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/0.8197, allocations: 14.09 kB / 0.7834 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009002/0.8206, allocations: 74.66 kB / 0.7834 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.8207, allocations: 44.31 kB / 0.7835 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.857e-05/0.8208, allocations: 24.19 kB / 0.7835 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00109/0.8219, allocations: 0.6677 MB / 0.7842 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8219, allocations: 0 / 0.7842 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002009/0.8239, allocations: 0.5683 MB / 0.7847 GB, free: 13.05 MB / 0.5762 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.0009737/0.8249, allocations: 392 kB / 0.7851 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003786/0.8287, allocations: 1.302 MB / 0.7864 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.8287, allocations: 3.625 kB / 0.7864 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001206/0.8299, allocations: 458.2 kB / 0.7868 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002569/0.8325, allocations: 0.4888 MB / 0.7873 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003739/0.8362, allocations: 1.913 MB / 0.7891 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/0.8367, allocations: 1.069 MB / 0.7902 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003157/0.837, allocations: 91.48 kB / 0.7903 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of SimCode: time 6.11e-07/0.837, allocations: 0 / 0.7903 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of Templates: time 0.03375/0.8708, allocations: 24.11 MB / 0.8138 GB, free: 11.16 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)