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.001346/0.001346, allocations: 106.7 kB / 16.41 MB, free: 6.465 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.001361/0.001361, allocations: 187 kB / 17.34 MB, free: 5.723 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.871/0.871, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 67.02 kB / 0.5863 GB, free: 21.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.213, allocations: 80.9 MB / 0.6653 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.06655/0.2796, allocations: 61.18 MB / 0.725 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01793/0.2976, allocations: 11.97 MB / 0.7367 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002578/0.3002, allocations: 59.62 kB / 0.7368 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002349/0.3026, allocations: 0.683 MB / 0.7374 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006291/0.309, allocations: 1.957 MB / 0.7394 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00371/0.3127, allocations: 1.204 MB / 0.7405 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005235/0.318, allocations: 3.082 MB / 0.7435 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00209/0.3201, allocations: 1.104 MB / 0.7446 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003946/0.324, allocations: 1.367 MB / 0.746 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00202/0.3261, allocations: 0.8867 MB / 0.7468 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004534/0.3266, allocations: 120 kB / 0.7469 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00342/0.33, allocations: 1.439 MB / 0.7483 GB, free: 484 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005124/0.3305, allocations: 290.9 kB / 0.7486 GB, free: 192 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.3881/0.7186, allocations: 0.6881 MB / 0.7493 GB, free: 23.21 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005256/0.7239, allocations: 2.301 MB / 0.7515 GB, free: 23.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.724, allocations: 0.7031 kB / 0.7515 GB, free: 23.16 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.613e-06/0.724, allocations: 1.094 kB / 0.7515 GB, free: 23.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.299e-05/0.724, allocations: 0 / 0.7515 GB, free: 23.16 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.004311/0.7284, allocations: 1.729 MB / 0.7532 GB, free: 22.31 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.7284, allocations: 10.42 kB / 0.7532 GB, free: 22.31 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002402/0.7308, allocations: 409.7 kB / 0.7536 GB, free: 22.24 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002546/0.7334, allocations: 1.156 MB / 0.7548 GB, free: 21.86 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.502e-05/0.7335, allocations: 64.03 kB / 0.7548 GB, free: 21.86 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.7336, allocations: 82.5 kB / 0.7549 GB, free: 21.86 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002276/0.7359, allocations: 1 MB / 0.7559 GB, free: 21.67 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.7359, allocations: 3.938 kB / 0.7559 GB, free: 21.67 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.794e-05/0.736, allocations: 33.56 kB / 0.7559 GB, free: 21.67 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.922e-05/0.7361, allocations: 19.09 kB / 0.7559 GB, free: 21.67 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002489/0.7386, allocations: 0.8589 MB / 0.7568 GB, free: 21.66 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.007575/0.7462, allocations: 5.216 MB / 0.7619 GB, free: 18.56 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003865/0.75, allocations: 0.7813 MB / 0.7626 GB, free: 18.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008571/0.7509, allocations: 296.4 kB / 0.7629 GB, free: 18.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005604/0.7515, allocations: 0.9022 MB / 0.7638 GB, free: 17.47 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.7515, allocations: 40.56 kB / 0.7638 GB, free: 17.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 4.819e-06/0.7515, allocations: 4.594 kB / 0.7638 GB, free: 17.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.009102/0.7606, allocations: 1.86 MB / 0.7656 GB, free: 17.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.7607, allocations: 55.19 kB / 0.7657 GB, free: 17.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001893/0.7626, allocations: 1.076 MB / 0.7667 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001233/0.7628, allocations: 37.14 kB / 0.7668 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003986/0.7632, allocations: 0.5268 MB / 0.7673 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.7633, allocations: 150.5 kB / 0.7674 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002482/0.7636, allocations: 141.9 kB / 0.7676 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.758e-05/0.7636, allocations: 325.9 kB / 0.7679 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008815/0.7645, allocations: 308.2 kB / 0.7682 GB, free: 16.28 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.7655, allocations: 0.5318 MB / 0.7687 GB, free: 16.01 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001659/0.7672, allocations: 0.7224 MB / 0.7694 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/0.7672, allocations: 1.344 kB / 0.7694 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002967/0.7702, allocations: 1.012 MB / 0.7704 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.7702, allocations: 9.5 kB / 0.7704 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.7703, allocations: 4.531 kB / 0.7704 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001287/0.7716, allocations: 312.4 kB / 0.7707 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005641/0.7721, allocations: 126.2 kB / 0.7708 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/0.7735, allocations: 0.8937 MB / 0.7717 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.775, allocations: 157.5 kB / 0.7719 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.592e-05/0.7751, allocations: 33.78 kB / 0.7719 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001293/0.7764, allocations: 0.5072 MB / 0.7724 GB, free: 15 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001012/0.7774, allocations: 0.5336 MB / 0.7729 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00156/0.779, allocations: 0.709 MB / 0.7736 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.803e-06/0.779, allocations: 4.875 kB / 0.7736 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.00282/0.7819, allocations: 1.004 MB / 0.7746 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.7819, allocations: 7.438 kB / 0.7746 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.7819, allocations: 4.719 kB / 0.7746 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/0.783, allocations: 302.2 kB / 0.7749 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005467/0.7836, allocations: 129.8 kB / 0.775 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/0.7849, allocations: 0.8997 MB / 0.7759 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/0.7864, allocations: 128.7 kB / 0.776 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-05/0.7865, allocations: 34.12 kB / 0.776 GB, free: 13.82 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.0002741/0.7868, allocations: 225.8 kB / 0.7762 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002146/0.787, allocations: 111 kB / 0.7764 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003783/0.7908, allocations: 1.084 MB / 0.7774 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.935e-05/0.7909, allocations: 13.22 kB / 0.7774 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.7909, allocations: 3.469 kB / 0.7774 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.7909, allocations: 9 kB / 0.7774 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005262/0.7962, allocations: 2.141 MB / 0.7795 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.936e-06/0.7962, allocations: 1.562 kB / 0.7795 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000294/0.7965, allocations: 61.22 kB / 0.7796 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009513/0.7975, allocations: 297.5 kB / 0.7799 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.924e-05/0.7975, allocations: 14.09 kB / 0.7799 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001308/0.7988, allocations: 0.9246 MB / 0.7808 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.7988, allocations: 5.312 kB / 0.7808 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003673/0.8025, allocations: 1.144 MB / 0.7819 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006273/0.8032, allocations: 271.2 kB / 0.7822 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001708/0.8033, allocations: 11.16 kB / 0.7822 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008023/0.8041, allocations: 71.41 kB / 0.7822 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.351e-05/0.8042, allocations: 41.02 kB / 0.7823 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.719e-05/0.8043, allocations: 25.97 kB / 0.7823 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001189/0.8055, allocations: 0.7532 MB / 0.783 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8055, allocations: 2.344 kB / 0.7831 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001817/0.8073, allocations: 0.5667 MB / 0.7836 GB, free: 11.82 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.0008462/0.8082, allocations: 383 kB / 0.784 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003218/0.8114, allocations: 1.123 MB / 0.7851 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/0.8115, allocations: 0 / 0.7851 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008615/0.8123, allocations: 346.9 kB / 0.7854 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/0.8149, allocations: 0.514 MB / 0.7859 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005142/0.82, allocations: 2.044 MB / 0.7879 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005041/0.8206, allocations: 1.057 MB / 0.7889 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003135/0.8209, allocations: 78.16 kB / 0.789 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/0.8209, allocations: 2.438 kB / 0.789 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of Templates: time 0.02974/0.8506, allocations: 24.13 MB / 0.8126 GB, free: 11.55 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)