Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 112.3 kB / 17.33 MB, free: 5.008 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.001393/0.001393, allocations: 198.6 kB / 18.33 MB, free: 4.016 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: 225.6 MB / 244.8 MB, free: 13.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8739/0.8739, allocations: 128.4 MB / 426.1 MB, free: 7.219 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 68.3 kB / 0.5912 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1811, allocations: 83.25 MB / 0.6724 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.07524/0.2563, allocations: 61.68 MB / 0.7327 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0202/0.2765, allocations: 12.01 MB / 0.7444 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002841/0.2794, allocations: 59.62 kB / 0.7445 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002607/0.282, allocations: 0.7064 MB / 0.7452 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00761/0.2896, allocations: 2.066 MB / 0.7472 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004142/0.2937, allocations: 1.213 MB / 0.7484 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005724/0.2995, allocations: 3.083 MB / 0.7514 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002054/0.3015, allocations: 0.9006 MB / 0.7522 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004494/0.306, allocations: 1.493 MB / 0.7537 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3823/0.6883, allocations: 0.9078 MB / 0.7546 GB, free: 21.92 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004496/0.6888, allocations: 114.4 kB / 0.7547 GB, free: 21.92 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00327/0.6921, allocations: 1.465 MB / 0.7561 GB, free: 21.92 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004037/0.6925, allocations: 300.7 kB / 0.7564 GB, free: 21.92 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001162/0.6936, allocations: 0.6918 MB / 0.7571 GB, free: 21.92 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004397/0.698, allocations: 2.312 MB / 0.7594 GB, free: 21.76 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.698, allocations: 1.062 kB / 0.7594 GB, free: 21.76 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.433e-06/0.698, allocations: 0 / 0.7594 GB, free: 21.76 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.866e-05/0.6981, allocations: 0.625 kB / 0.7594 GB, free: 21.76 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.003423/0.7015, allocations: 1.766 MB / 0.7611 GB, free: 20.8 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.7015, allocations: 12.62 kB / 0.7611 GB, free: 20.8 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002331/0.7039, allocations: 418.8 kB / 0.7615 GB, free: 20.72 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002323/0.7062, allocations: 1.176 MB / 0.7626 GB, free: 20.33 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.641e-05/0.7063, allocations: 68.12 kB / 0.7627 GB, free: 20.33 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.7064, allocations: 79.91 kB / 0.7628 GB, free: 20.33 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002242/0.7087, allocations: 0.9963 MB / 0.7638 GB, free: 20.13 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.7087, allocations: 0.8438 kB / 0.7638 GB, free: 20.13 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.823e-05/0.7088, allocations: 38.25 kB / 0.7638 GB, free: 20.13 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-05/0.7088, allocations: 19.22 kB / 0.7638 GB, free: 20.13 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002531/0.7113, allocations: 0.848 MB / 0.7646 GB, free: 20.11 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.007067/0.7184, allocations: 5.217 MB / 0.7697 GB, free: 17 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003395/0.7218, allocations: 0.7614 MB / 0.7705 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006652/0.7225, allocations: 273.5 kB / 0.7707 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004681/0.7229, allocations: 0.918 MB / 0.7716 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.723, allocations: 36.91 kB / 0.7717 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.625e-06/0.723, allocations: 0 / 0.7717 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.006805/0.7298, allocations: 1.692 MB / 0.7733 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.7298, allocations: 64.3 kB / 0.7734 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001623/0.7314, allocations: 1.078 MB / 0.7744 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.984e-05/0.7315, allocations: 38.02 kB / 0.7745 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003554/0.7318, allocations: 0.5337 MB / 0.775 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.732, allocations: 157.6 kB / 0.7751 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002256/0.7322, allocations: 136.7 kB / 0.7753 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.732e-05/0.7323, allocations: 332 kB / 0.7756 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008995/0.7332, allocations: 310.2 kB / 0.7759 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009767/0.7341, allocations: 0.522 MB / 0.7764 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001466/0.7356, allocations: 0.7155 MB / 0.7771 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.7356, allocations: 2.188 kB / 0.7771 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002555/0.7382, allocations: 1.01 MB / 0.7781 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.7382, allocations: 10.19 kB / 0.7781 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.7382, allocations: 5.75 kB / 0.7781 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/0.7394, allocations: 308 kB / 0.7784 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005347/0.7399, allocations: 129 kB / 0.7785 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/0.7411, allocations: 0.9015 MB / 0.7794 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.7425, allocations: 156.4 kB / 0.7795 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.847e-05/0.7425, allocations: 30.61 kB / 0.7796 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00113/0.7437, allocations: 0.5144 MB / 0.7801 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009121/0.7446, allocations: 0.523 MB / 0.7806 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00141/0.746, allocations: 0.7064 MB / 0.7813 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.467e-06/0.746, allocations: 1.312 kB / 0.7813 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002482/0.7485, allocations: 1.003 MB / 0.7823 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.7485, allocations: 9.344 kB / 0.7823 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.7485, allocations: 5.406 kB / 0.7823 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009881/0.7495, allocations: 299 kB / 0.7826 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005232/0.75, allocations: 131.4 kB / 0.7827 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/0.7512, allocations: 0.8873 MB / 0.7835 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.7525, allocations: 139.3 kB / 0.7837 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.245e-05/0.7526, allocations: 32.55 kB / 0.7837 GB, free: 12.25 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.0002382/0.7528, allocations: 220.9 kB / 0.7839 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000195/0.753, allocations: 120.4 kB / 0.784 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002201/0.7552, allocations: 0.9147 MB / 0.7849 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.7552, allocations: 5.281 kB / 0.7849 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.7552, allocations: 0 / 0.7849 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.7552, allocations: 3.938 kB / 0.7849 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004619/0.7598, allocations: 2.144 MB / 0.787 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.7599, allocations: 2.5 kB / 0.787 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/0.7601, allocations: 66.66 kB / 0.7871 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008598/0.761, allocations: 289.5 kB / 0.7874 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.495e-05/0.761, allocations: 18.45 kB / 0.7874 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001141/0.7622, allocations: 0.9225 MB / 0.7883 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.7622, allocations: 4.688 kB / 0.7883 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003151/0.7653, allocations: 1.146 MB / 0.7894 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004264/0.7657, allocations: 273.7 kB / 0.7897 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001556/0.7659, allocations: 9.531 kB / 0.7897 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008119/0.7667, allocations: 69.91 kB / 0.7898 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.42e-05/0.7668, allocations: 48.23 kB / 0.7898 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-05/0.7669, allocations: 22.08 kB / 0.7898 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0011/0.768, allocations: 0.7565 MB / 0.7906 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.768, allocations: 1.375 kB / 0.7906 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001703/0.7697, allocations: 0.5673 MB / 0.7911 GB, free: 10.24 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.0006906/0.7704, allocations: 392.7 kB / 0.7915 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002699/0.773, allocations: 1.089 MB / 0.7926 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.7731, allocations: 0 / 0.7926 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007423/0.7738, allocations: 324.6 kB / 0.7929 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/0.7757, allocations: 0.5041 MB / 0.7934 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004703/0.7804, allocations: 2.053 MB / 0.7954 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005081/0.781, allocations: 1.059 MB / 0.7964 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000852/0.7818, allocations: 233.2 kB / 0.7966 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.782, allocations: 80.19 kB / 0.7967 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of SimCode: time 1.082e-06/0.782, allocations: 0 / 0.7967 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of Templates: time 0.04002/0.822, allocations: 25.38 MB / 0.8215 GB, free: 7.066 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1) [Timeout 480]