Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 114.9 kB / 17.08 MB, free: 5.996 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.002004/0.002004, allocations: 187.1 kB / 18.02 MB, free: 5.074 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.47/1.47, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8637/0.8637, allocations: 126.4 MB / 418.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 63.16 kB / 0.5742 GB, free: 27.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1493, allocations: 78.79 MB / 0.6511 GB, free: 3.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.06588/0.2152, allocations: 61.27 MB / 0.711 GB, free: 6.062 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01843/0.2337, allocations: 12 MB / 0.7227 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002045/0.2357, allocations: 63.62 kB / 0.7227 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002045/0.2378, allocations: 0.6986 MB / 0.7234 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006195/0.2441, allocations: 2.061 MB / 0.7254 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003288/0.2474, allocations: 1.216 MB / 0.7266 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004663/0.252, allocations: 3.075 MB / 0.7296 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001635/0.2537, allocations: 1.107 MB / 0.7307 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003676/0.2574, allocations: 1.476 MB / 0.7322 GB, free: 292 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001565/0.259, allocations: 0.8884 MB / 0.733 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001829/0.2592, allocations: 112 kB / 0.7331 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002961/0.2621, allocations: 1.454 MB / 0.7346 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003451/0.2625, allocations: 298.8 kB / 0.7348 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008643/0.2634, allocations: 0.6958 MB / 0.7355 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003594/0.267, allocations: 2.309 MB / 0.7378 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.267, allocations: 0 / 0.7378 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.333e-06/0.267, allocations: 3.938 kB / 0.7378 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.726e-05/0.267, allocations: 0 / 0.7378 GB, free: 10.52 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.003055/0.2701, allocations: 1.771 MB / 0.7395 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.2701, allocations: 12.03 kB / 0.7395 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002184/0.2723, allocations: 423.3 kB / 0.7399 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002236/0.2746, allocations: 1.176 MB / 0.7411 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.444e-05/0.2746, allocations: 58 kB / 0.7411 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.2748, allocations: 80 kB / 0.7412 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/0.2769, allocations: 1.005 MB / 0.7422 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.2769, allocations: 0 / 0.7422 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.554e-05/0.277, allocations: 32 kB / 0.7422 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/0.277, allocations: 20 kB / 0.7422 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002386/0.2794, allocations: 0.8663 MB / 0.7431 GB, free: 4.906 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.331/0.6104, allocations: 5.235 MB / 0.7482 GB, free: 92.07 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003516/0.614, allocations: 0.7822 MB / 0.749 GB, free: 92.04 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007659/0.6147, allocations: 296 kB / 0.7492 GB, free: 92.03 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004737/0.6152, allocations: 0.9053 MB / 0.7501 GB, free: 91 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.6153, allocations: 41.3 kB / 0.7502 GB, free: 90.96 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.184e-06/0.6153, allocations: 0.5 kB / 0.7502 GB, free: 90.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.008351/0.6236, allocations: 1.868 MB / 0.752 GB, free: 90.82 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.6237, allocations: 55.94 kB / 0.752 GB, free: 90.75 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001888/0.6256, allocations: 1.079 MB / 0.7531 GB, free: 90.58 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.972e-05/0.6257, allocations: 42.08 kB / 0.7531 GB, free: 90.54 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004304/0.6261, allocations: 0.5349 MB / 0.7537 GB, free: 90.21 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.6263, allocations: 162.9 kB / 0.7538 GB, free: 90.11 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002485/0.6265, allocations: 136.3 kB / 0.7539 GB, free: 90.04 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.456e-05/0.6266, allocations: 330.2 kB / 0.7543 GB, free: 89.73 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009279/0.6275, allocations: 311.3 kB / 0.7545 GB, free: 89.64 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.6286, allocations: 0.5267 MB / 0.7551 GB, free: 89.28 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001721/0.6304, allocations: 0.7223 MB / 0.7558 GB, free: 88.91 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.6304, allocations: 4.031 kB / 0.7558 GB, free: 88.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003857/0.6342, allocations: 1.143 MB / 0.7569 GB, free: 88.56 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.6343, allocations: 15.23 kB / 0.7569 GB, free: 88.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.6343, allocations: 6.125 kB / 0.7569 GB, free: 88.56 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001364/0.6357, allocations: 307.8 kB / 0.7572 GB, free: 88.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006099/0.6363, allocations: 131.8 kB / 0.7573 GB, free: 88.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/0.6377, allocations: 0.8985 MB / 0.7582 GB, free: 87.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/0.6389, allocations: 155 kB / 0.7584 GB, free: 87.81 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.691e-05/0.639, allocations: 32.59 kB / 0.7584 GB, free: 87.81 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00122/0.6402, allocations: 0.5109 MB / 0.7589 GB, free: 87.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001029/0.6413, allocations: 0.5301 MB / 0.7594 GB, free: 87.19 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001558/0.6428, allocations: 0.6965 MB / 0.7601 GB, free: 86.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.418e-06/0.6428, allocations: 1.188 kB / 0.7601 GB, free: 86.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003526/0.6464, allocations: 1.144 MB / 0.7612 GB, free: 86.41 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.6464, allocations: 6.719 kB / 0.7612 GB, free: 86.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.6464, allocations: 8.75 kB / 0.7612 GB, free: 86.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001226/0.6477, allocations: 305.6 kB / 0.7615 GB, free: 86.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00057/0.6482, allocations: 131.6 kB / 0.7616 GB, free: 86.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/0.6495, allocations: 0.8961 MB / 0.7625 GB, free: 85.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.6508, allocations: 138 kB / 0.7626 GB, free: 85.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.057e-05/0.6509, allocations: 31.56 kB / 0.7627 GB, free: 85.64 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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.0002153/0.6511, allocations: 219 kB / 0.7629 GB, free: 85.43 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.6513, allocations: 117.3 kB / 0.763 GB, free: 85.37 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003907/0.6552, allocations: 1.097 MB / 0.7641 GB, free: 85.01 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/0.6552, allocations: 6.547 kB / 0.7641 GB, free: 85.01 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.6553, allocations: 0.5 kB / 0.7641 GB, free: 85.01 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.6553, allocations: 11.31 kB / 0.7641 GB, free: 85 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00524/0.6605, allocations: 2.193 MB / 0.7662 GB, free: 84.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.6606, allocations: 2.406 kB / 0.7662 GB, free: 84.01 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002791/0.6608, allocations: 65.06 kB / 0.7663 GB, free: 84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009491/0.6618, allocations: 291.6 kB / 0.7666 GB, free: 83.94 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-05/0.6618, allocations: 19.03 kB / 0.7666 GB, free: 83.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001248/0.6631, allocations: 0.9247 MB / 0.7675 GB, free: 83.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.6631, allocations: 6.875 kB / 0.7675 GB, free: 83.26 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003469/0.6666, allocations: 1.176 MB / 0.7686 GB, free: 82.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004476/0.6671, allocations: 269.7 kB / 0.7689 GB, free: 82.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.6672, allocations: 12.78 kB / 0.7689 GB, free: 82.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007814/0.668, allocations: 72.05 kB / 0.769 GB, free: 82.52 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.642e-05/0.6681, allocations: 37.66 kB / 0.769 GB, free: 82.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.257e-05/0.6682, allocations: 26.89 kB / 0.769 GB, free: 82.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001148/0.6693, allocations: 0.7526 MB / 0.7698 GB, free: 82.15 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6693, allocations: 0 / 0.7698 GB, free: 82.15 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001594/0.6709, allocations: 0.5737 MB / 0.7703 GB, free: 82.08 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.00076/0.6717, allocations: 401.3 kB / 0.7707 GB, free: 81.91 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003388/0.6751, allocations: 1.128 MB / 0.7718 GB, free: 81.41 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.6751, allocations: 2.75 kB / 0.7718 GB, free: 81.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008822/0.676, allocations: 350.5 kB / 0.7722 GB, free: 81.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00238/0.6784, allocations: 0.512 MB / 0.7727 GB, free: 80.99 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004796/0.6832, allocations: 2.051 MB / 0.7747 GB, free: 79.75 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/0.6837, allocations: 1.073 MB / 0.7757 GB, free: 78.88 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008401/0.6845, allocations: 220.9 kB / 0.7759 GB, free: 78.78 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.6847, allocations: 78.92 kB / 0.776 GB, free: 78.77 MB / 0.5762 GB Notification: Performance of SimCode: time 5.81e-07/0.6847, allocations: 0 / 0.776 GB, free: 78.77 MB / 0.5762 GB Notification: Performance of Templates: time 0.03348/0.7182, allocations: 25.38 MB / 0.8008 GB, free: 56.38 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)