Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.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.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 109 kB / 16.41 MB, free: 6.449 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.001397/0.001397, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.449/1.449, 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.8612/0.8612, allocations: 135.2 MB / 426.4 MB, free: 4.035 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 63.42 kB / 0.5863 GB, free: 21.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1643, allocations: 80.93 MB / 0.6654 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.06732/0.2316, allocations: 61.27 MB / 0.7252 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01862/0.2502, allocations: 12 MB / 0.7369 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002445/0.2527, allocations: 59.62 kB / 0.737 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00225/0.2549, allocations: 0.6986 MB / 0.7377 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006189/0.2611, allocations: 2.061 MB / 0.7397 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003366/0.2645, allocations: 1.221 MB / 0.7409 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005102/0.2696, allocations: 3.079 MB / 0.7439 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00161/0.2712, allocations: 0.9007 MB / 0.7447 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003556/0.2747, allocations: 1.379 MB / 0.7461 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001822/0.2766, allocations: 0.8867 MB / 0.747 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002331/0.2768, allocations: 116 kB / 0.7471 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003176/0.28, allocations: 1.435 MB / 0.7485 GB, free: 324 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003754/0.2803, allocations: 306.7 kB / 0.7488 GB, free: 16 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.3973/0.6776, allocations: 0.6868 MB / 0.7494 GB, free: 23.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006111/0.6837, allocations: 2.31 MB / 0.7517 GB, free: 23.03 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.6837, allocations: 0 / 0.7517 GB, free: 23.03 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.384e-06/0.6837, allocations: 1.234 kB / 0.7517 GB, free: 23.03 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.862e-05/0.6838, allocations: 1.5 kB / 0.7517 GB, free: 23.03 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004238/0.688, allocations: 1.776 MB / 0.7534 GB, free: 22.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.6881, allocations: 11.2 kB / 0.7534 GB, free: 22.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002374/0.6904, allocations: 417.6 kB / 0.7538 GB, free: 21.99 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002699/0.6931, allocations: 1.168 MB / 0.755 GB, free: 21.61 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.139e-05/0.6932, allocations: 66.81 kB / 0.755 GB, free: 21.61 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.6934, allocations: 80.91 kB / 0.7551 GB, free: 21.61 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002812/0.6962, allocations: 0.9972 MB / 0.7561 GB, free: 21.41 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.943e-05/0.6962, allocations: 4.531 kB / 0.7561 GB, free: 21.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.723e-05/0.6963, allocations: 32.78 kB / 0.7561 GB, free: 21.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.269e-05/0.6963, allocations: 19.94 kB / 0.7561 GB, free: 21.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002875/0.6992, allocations: 0.853 MB / 0.757 GB, free: 21.4 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.008371/0.7076, allocations: 5.227 MB / 0.7621 GB, free: 18.29 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003729/0.7113, allocations: 0.7599 MB / 0.7628 GB, free: 18.25 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008854/0.7122, allocations: 283.5 kB / 0.7631 GB, free: 18.24 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005472/0.7127, allocations: 0.9036 MB / 0.764 GB, free: 17.21 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.7128, allocations: 37.66 kB / 0.764 GB, free: 17.17 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.454e-06/0.7128, allocations: 0 / 0.764 GB, free: 17.17 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.009194/0.722, allocations: 1.856 MB / 0.7658 GB, free: 16.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.722, allocations: 55.06 kB / 0.7659 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00203/0.724, allocations: 1.073 MB / 0.7669 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001407/0.7242, allocations: 37.45 kB / 0.767 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004357/0.7246, allocations: 0.5491 MB / 0.7675 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.7247, allocations: 158.8 kB / 0.7676 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002845/0.725, allocations: 136.3 kB / 0.7678 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.972e-05/0.7251, allocations: 329.8 kB / 0.7681 GB, free: 16.01 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008694/0.726, allocations: 309.3 kB / 0.7684 GB, free: 16 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.727, allocations: 0.535 MB / 0.7689 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001678/0.7287, allocations: 0.7167 MB / 0.7696 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.7287, allocations: 1.5 kB / 0.7696 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003012/0.7317, allocations: 1.013 MB / 0.7706 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.7317, allocations: 7.938 kB / 0.7706 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.7317, allocations: 4.562 kB / 0.7706 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/0.7331, allocations: 307.7 kB / 0.7709 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005616/0.7336, allocations: 129.6 kB / 0.771 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.735, allocations: 0.9047 MB / 0.7719 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/0.7366, allocations: 150 kB / 0.7721 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.7367, allocations: 37.25 kB / 0.7721 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001382/0.7381, allocations: 0.5076 MB / 0.7726 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001001/0.7391, allocations: 0.5348 MB / 0.7731 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001596/0.7407, allocations: 0.7065 MB / 0.7738 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.701e-06/0.7407, allocations: 1.344 kB / 0.7738 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.00292/0.7436, allocations: 1.006 MB / 0.7748 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.7436, allocations: 8.562 kB / 0.7748 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.7436, allocations: 9.438 kB / 0.7748 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/0.7448, allocations: 299.7 kB / 0.7751 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005358/0.7453, allocations: 134.1 kB / 0.7752 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/0.7466, allocations: 0.8966 MB / 0.7761 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/0.7482, allocations: 135.1 kB / 0.7762 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.7483, allocations: 29.44 kB / 0.7762 GB, free: 13.51 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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.0002804/0.7485, allocations: 221.4 kB / 0.7765 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002609/0.7488, allocations: 120.5 kB / 0.7766 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003891/0.7527, allocations: 1.078 MB / 0.7776 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.138e-05/0.7527, allocations: 5.5 kB / 0.7776 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.7527, allocations: 2.859 kB / 0.7776 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.7527, allocations: 11.58 kB / 0.7776 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00575/0.7585, allocations: 2.139 MB / 0.7797 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/0.7585, allocations: 2.875 kB / 0.7797 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000289/0.7588, allocations: 57.33 kB / 0.7798 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001039/0.7598, allocations: 284 kB / 0.7801 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.395e-05/0.7599, allocations: 16.34 kB / 0.7801 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/0.7613, allocations: 0.9297 MB / 0.781 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.7613, allocations: 8.688 kB / 0.781 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003753/0.7651, allocations: 1.144 MB / 0.7821 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007711/0.7659, allocations: 265.1 kB / 0.7824 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001963/0.7661, allocations: 20.95 kB / 0.7824 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008236/0.7669, allocations: 73.5 kB / 0.7824 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.767, allocations: 37.84 kB / 0.7825 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.62e-05/0.7671, allocations: 24.09 kB / 0.7825 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001384/0.7684, allocations: 0.7567 MB / 0.7832 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7684, allocations: 0 / 0.7832 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002041/0.7705, allocations: 0.5789 MB / 0.7838 GB, free: 11.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0009857/0.7715, allocations: 385.2 kB / 0.7842 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00344/0.7749, allocations: 1.09 MB / 0.7852 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.7749, allocations: 1.375 kB / 0.7852 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009056/0.7758, allocations: 331.6 kB / 0.7856 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002815/0.7786, allocations: 0.4973 MB / 0.786 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005447/0.7841, allocations: 2.075 MB / 0.7881 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004969/0.7846, allocations: 1.053 MB / 0.7891 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003459/0.7849, allocations: 83.41 kB / 0.7892 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of SimCode: time 1.563e-06/0.7849, allocations: 0 / 0.7892 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of Templates: time 0.03247/0.8174, allocations: 24.22 MB / 0.8128 GB, free: 11.2 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)