Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 109.8 kB / 16.41 MB, free: 6.027 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.001277/0.001277, allocations: 190.1 kB / 17.34 MB, free: 5.633 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8092/0.8092, allocations: 115.3 MB / 406.5 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001439, allocations: 62.48 kB / 0.5577 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1626, allocations: 76.18 MB / 0.6321 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.0622/0.2248, allocations: 61.21 MB / 0.6919 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01725/0.2421, allocations: 12.01 MB / 0.7036 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002519/0.2447, allocations: 63.69 kB / 0.7037 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002134/0.2469, allocations: 0.6985 MB / 0.7043 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006238/0.2532, allocations: 2.068 MB / 0.7064 GB, free: 8.074 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003482/0.2567, allocations: 1.218 MB / 0.7076 GB, free: 6.863 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005383/0.262, allocations: 3.114 MB / 0.7106 GB, free: 3.738 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0024/0.2645, allocations: 1.108 MB / 0.7117 GB, free: 2.594 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004501/0.269, allocations: 1.375 MB / 0.713 GB, free: 1.219 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002068/0.2711, allocations: 0.9007 MB / 0.7139 GB, free: 324 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0005184/0.2716, allocations: 116 kB / 0.714 GB, free: 208 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003731/0.2754, allocations: 1.447 MB / 0.7154 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006145/0.276, allocations: 302.8 kB / 0.7157 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001342/0.2774, allocations: 0.692 MB / 0.7164 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003978/0.2813, allocations: 2.298 MB / 0.7186 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2814, allocations: 0 / 0.7186 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.667e-06/0.2814, allocations: 4 kB / 0.7186 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.644e-05/0.2814, allocations: 3.938 kB / 0.7186 GB, free: 11.45 MB / 0.5606 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.003085/0.2845, allocations: 1.746 MB / 0.7203 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.2845, allocations: 11.97 kB / 0.7204 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002198/0.2867, allocations: 410.8 kB / 0.7207 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002114/0.2889, allocations: 1.171 MB / 0.7219 GB, free: 8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.269e-05/0.2889, allocations: 62 kB / 0.7219 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.2891, allocations: 80 kB / 0.722 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/0.2911, allocations: 1.021 MB / 0.723 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.2912, allocations: 0 / 0.723 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.141e-05/0.2913, allocations: 32 kB / 0.7231 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/0.2913, allocations: 20 kB / 0.7231 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002369/0.2937, allocations: 0.8937 MB / 0.7239 GB, free: 5.836 MB / 0.5606 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.006505/0.3002, allocations: 5.239 MB / 0.7291 GB, free: 228 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003531/0.3037, allocations: 0.7887 MB / 0.7298 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007886/0.3045, allocations: 322.5 kB / 0.7301 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006433/0.3052, allocations: 0.9025 MB / 0.731 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.3052, allocations: 46.44 kB / 0.7311 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.134e-06/0.3052, allocations: 0 / 0.7311 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.008684/0.3139, allocations: 1.891 MB / 0.7329 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.314, allocations: 55.41 kB / 0.733 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/0.3156, allocations: 1.08 MB / 0.734 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.553e-05/0.3157, allocations: 37.7 kB / 0.7341 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004404/0.3161, allocations: 0.5467 MB / 0.7346 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.3163, allocations: 157.7 kB / 0.7347 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002276/0.3165, allocations: 134.2 kB / 0.7349 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.3166, allocations: 330 kB / 0.7352 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009893/0.3176, allocations: 319.2 kB / 0.7355 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/0.3188, allocations: 0.5541 MB / 0.736 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/0.3206, allocations: 0.7427 MB / 0.7368 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.3206, allocations: 0 / 0.7368 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003768/0.3243, allocations: 1.18 MB / 0.7379 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.3244, allocations: 11.94 kB / 0.7379 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.3244, allocations: 4 kB / 0.7379 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/0.3257, allocations: 308.7 kB / 0.7382 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006085/0.3263, allocations: 135.7 kB / 0.7383 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/0.3278, allocations: 0.9023 MB / 0.7392 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.3292, allocations: 163.2 kB / 0.7394 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.409e-05/0.3292, allocations: 31.98 kB / 0.7394 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001373/0.3306, allocations: 0.5246 MB / 0.7399 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001169/0.3318, allocations: 0.5424 MB / 0.7405 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001767/0.3336, allocations: 0.7376 MB / 0.7412 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.386e-06/0.3336, allocations: 0 / 0.7412 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003707/0.3373, allocations: 1.149 MB / 0.7423 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.3374, allocations: 8 kB / 0.7423 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.3374, allocations: 4 kB / 0.7423 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.3385, allocations: 300.7 kB / 0.7426 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005894/0.3391, allocations: 131.8 kB / 0.7427 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/0.3406, allocations: 0.9018 MB / 0.7436 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.3419, allocations: 143.6 kB / 0.7437 GB, free: 472 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.32e-05/0.342, allocations: 31.98 kB / 0.7438 GB, free: 440 kB / 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 (58): * Single equations (assignments): 57 * 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.0003627/0.3424, allocations: 216.1 kB / 0.744 GB, free: 216 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003443/0.3427, allocations: 114.5 kB / 0.7441 GB, free: 100 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3792/0.7219, allocations: 1.117 MB / 0.7452 GB, free: 109.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.972e-05/0.722, allocations: 10.42 kB / 0.7452 GB, free: 109.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.722, allocations: 1.781 kB / 0.7452 GB, free: 109.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.722, allocations: 6.797 kB / 0.7452 GB, free: 109.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006059/0.7281, allocations: 2.198 MB / 0.7473 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.7281, allocations: 2.344 kB / 0.7473 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003339/0.7284, allocations: 77.5 kB / 0.7474 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001045/0.7295, allocations: 292.5 kB / 0.7477 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.273e-05/0.7295, allocations: 12.83 kB / 0.7477 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001426/0.731, allocations: 0.9216 MB / 0.7486 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.731, allocations: 6.625 kB / 0.7486 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004148/0.7351, allocations: 1.202 MB / 0.7498 GB, free: 107.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006133/0.7358, allocations: 268.8 kB / 0.75 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/0.736, allocations: 15.61 kB / 0.7501 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008827/0.7369, allocations: 74.88 kB / 0.7501 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.737, allocations: 46.62 kB / 0.7502 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.108e-05/0.7371, allocations: 24.17 kB / 0.7502 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001513/0.7386, allocations: 0.7563 MB / 0.7509 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7386, allocations: 0 / 0.7509 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002028/0.7406, allocations: 0.5716 MB / 0.7515 GB, free: 107.2 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 (34): * Single equations (assignments): 29 * 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.0008611/0.7415, allocations: 390.7 kB / 0.7519 GB, free: 107.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003436/0.7449, allocations: 1.167 MB / 0.753 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.745, allocations: 0 / 0.753 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.746, allocations: 372.1 kB / 0.7534 GB, free: 106.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002708/0.7488, allocations: 0.5101 MB / 0.7539 GB, free: 106.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006413/0.7552, allocations: 2.027 MB / 0.7558 GB, free: 105.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00076/0.756, allocations: 1.072 MB / 0.7569 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001347/0.7573, allocations: 235.2 kB / 0.7571 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/0.7576, allocations: 78.52 kB / 0.7572 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of SimCode: time 9.21e-07/0.7576, allocations: 0 / 0.7572 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.0404/0.798, allocations: 25.38 MB / 0.782 GB, free: 87.31 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)