Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001145/0.001145, allocations: 108.3 kB / 16.41 MB, free: 6.492 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.001136/0.001136, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7276/0.7276, allocations: 115.3 MB / 406.5 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 58.5 kB / 0.5577 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1499, allocations: 76.18 MB / 0.6321 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05944/0.2094, allocations: 61.17 MB / 0.6918 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02004/0.2295, allocations: 12.01 MB / 0.7035 GB, free: 11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00298/0.2325, allocations: 55.69 kB / 0.7036 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002508/0.2351, allocations: 0.6908 MB / 0.7043 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00653/0.2417, allocations: 2.075 MB / 0.7063 GB, free: 8.168 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003532/0.2452, allocations: 1.202 MB / 0.7075 GB, free: 6.973 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004701/0.2499, allocations: 3.102 MB / 0.7105 GB, free: 3.859 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002033/0.252, allocations: 1.12 MB / 0.7116 GB, free: 2.703 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003567/0.2556, allocations: 1.364 MB / 0.7129 GB, free: 1.336 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00185/0.2574, allocations: 0.9218 MB / 0.7138 GB, free: 420 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000399/0.2578, allocations: 120 kB / 0.7139 GB, free: 300 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003928/0.2618, allocations: 1.443 MB / 0.7153 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006259/0.2624, allocations: 298.9 kB / 0.7156 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001362/0.2638, allocations: 0.6997 MB / 0.7163 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004592/0.2684, allocations: 2.318 MB / 0.7186 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.2684, allocations: 0 / 0.7186 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.394e-06/0.2684, allocations: 4 kB / 0.7186 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.883e-05/0.2685, allocations: 0 / 0.7186 GB, free: 11.52 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.004208/0.2727, allocations: 1.734 MB / 0.7203 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.2728, allocations: 8.031 kB / 0.7203 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002562/0.2753, allocations: 458.8 kB / 0.7207 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002318/0.2777, allocations: 1.179 MB / 0.7219 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.484e-05/0.2778, allocations: 66 kB / 0.7219 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.2779, allocations: 80 kB / 0.722 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002152/0.28, allocations: 0.9978 MB / 0.723 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.2801, allocations: 0 / 0.723 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.3e-05/0.2802, allocations: 35.94 kB / 0.723 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.2802, allocations: 19.98 kB / 0.723 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002625/0.2828, allocations: 0.9446 MB / 0.724 GB, free: 5.863 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.006354/0.2892, allocations: 4.68 MB / 0.7285 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004098/0.2933, allocations: 0.9929 MB / 0.7295 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/0.2944, allocations: 403.5 kB / 0.7299 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001149/0.2956, allocations: 1.025 MB / 0.7309 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.2956, allocations: 39 kB / 0.7309 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.916e-06/0.2957, allocations: 0 / 0.7309 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.009674/0.3053, allocations: 2.162 MB / 0.733 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.3054, allocations: 59.78 kB / 0.7331 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001713/0.3071, allocations: 0.9431 MB / 0.734 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.3073, allocations: 37.7 kB / 0.734 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000452/0.3077, allocations: 0.5002 MB / 0.7345 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002008/0.3079, allocations: 189.3 kB / 0.7347 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002454/0.3082, allocations: 126.1 kB / 0.7348 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3083, allocations: 330 kB / 0.7351 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.3094, allocations: 354.8 kB / 0.7355 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/0.3106, allocations: 0.5092 MB / 0.736 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002175/0.3128, allocations: 0.7618 MB / 0.7367 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.3128, allocations: 0 / 0.7367 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003192/0.316, allocations: 1.057 MB / 0.7378 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.3161, allocations: 7.938 kB / 0.7378 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.3161, allocations: 4 kB / 0.7378 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/0.3175, allocations: 308.8 kB / 0.7381 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006672/0.3182, allocations: 131.8 kB / 0.7382 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.3197, allocations: 0.8977 MB / 0.7391 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.3208, allocations: 123.4 kB / 0.7392 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.728e-05/0.3209, allocations: 27.98 kB / 0.7392 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001445/0.3224, allocations: 0.5594 MB / 0.7398 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001215/0.3236, allocations: 0.5116 MB / 0.7403 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002189/0.3258, allocations: 0.7424 MB / 0.741 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.016e-06/0.3258, allocations: 4 kB / 0.741 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003129/0.329, allocations: 1.045 MB / 0.742 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.329, allocations: 8 kB / 0.742 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.329, allocations: 0 / 0.742 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001136/0.3301, allocations: 300.8 kB / 0.7423 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006651/0.3308, allocations: 127.8 kB / 0.7424 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/0.3323, allocations: 0.8985 MB / 0.7433 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.3334, allocations: 111.6 kB / 0.7434 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.887e-05/0.3335, allocations: 27.98 kB / 0.7434 GB, free: 0.9688 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.0002529/0.3338, allocations: 220 kB / 0.7436 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003006/0.3341, allocations: 110.7 kB / 0.7437 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3742/0.7083, allocations: 1.305 MB / 0.745 GB, free: 109.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.676e-05/0.7084, allocations: 7.156 kB / 0.745 GB, free: 109.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/0.7084, allocations: 1.062 kB / 0.745 GB, free: 109.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.7084, allocations: 3.641 kB / 0.745 GB, free: 109.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007143/0.7155, allocations: 2.396 MB / 0.7474 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.7156, allocations: 2.156 kB / 0.7474 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000597/0.7162, allocations: 101.2 kB / 0.7475 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001071/0.7173, allocations: 295.2 kB / 0.7478 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.565e-05/0.7173, allocations: 18 kB / 0.7478 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001411/0.7188, allocations: 0.9256 MB / 0.7487 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.7188, allocations: 2.594 kB / 0.7487 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004465/0.7233, allocations: 1.332 MB / 0.75 GB, free: 108 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005256/0.7238, allocations: 275.1 kB / 0.7502 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.7239, allocations: 18.2 kB / 0.7503 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008527/0.7248, allocations: 82.86 kB / 0.7503 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.7249, allocations: 40.95 kB / 0.7504 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.575e-05/0.725, allocations: 28.66 kB / 0.7504 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001143/0.7261, allocations: 0.6618 MB / 0.751 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.31e-07/0.7262, allocations: 0 / 0.751 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002729/0.7289, allocations: 0.5737 MB / 0.7516 GB, free: 107.5 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.001111/0.73, allocations: 379.7 kB / 0.752 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00396/0.734, allocations: 1.301 MB / 0.7532 GB, free: 107 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.734, allocations: 1.125 kB / 0.7532 GB, free: 107 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001365/0.7354, allocations: 461 kB / 0.7537 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002329/0.7377, allocations: 499.3 kB / 0.7542 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00447/0.7422, allocations: 1.885 MB / 0.756 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008511/0.7431, allocations: 1.068 MB / 0.757 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001147/0.7442, allocations: 232.2 kB / 0.7573 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002927/0.7445, allocations: 81.19 kB / 0.7573 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of SimCode: time 7.02e-07/0.7445, allocations: 4 kB / 0.7573 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.03688/0.7814, allocations: 24.88 MB / 0.7816 GB, free: 88.16 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)