Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.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.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 108.3 kB / 17.04 MB, free: 6.055 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.001031/0.001031, allocations: 195 kB / 17.98 MB, free: 5.141 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.315/1.315, 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.7242/0.7242, allocations: 115.1 MB / 407 MB, free: 6.309 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001218, allocations: 64.12 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3244, allocations: 76.15 MB / 0.5576 GB, free: 36.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.5356/0.8601, allocations: 300.4 MB / 0.8509 GB, free: 40.29 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.05554/0.9157, allocations: 50.02 MB / 0.8997 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0104/0.9261, allocations: 298.2 kB / 0.9 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01089/0.937, allocations: 3.423 MB / 0.9034 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02814/0.9653, allocations: 9.043 MB / 0.9122 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01691/0.9822, allocations: 6.645 MB / 0.9187 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.02696/1.009, allocations: 18.48 MB / 0.9367 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01177/1.021, allocations: 5.85 MB / 0.9425 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01755/1.039, allocations: 7.369 MB / 0.9497 GB, free: 5.527 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009318/1.048, allocations: 5.091 MB / 0.9546 GB, free: 424 kB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.00278/1.051, allocations: 0.5665 MB / 0.9552 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0131/1.064, allocations: 4.375 MB / 0.9594 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003479/1.067, allocations: 1.51 MB / 0.9609 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.009681/1.077, allocations: 3.74 MB / 0.9646 GB, free: 6.191 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02186/1.099, allocations: 10.43 MB / 0.9748 GB, free: 11.73 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/1.099, allocations: 0 / 0.9748 GB, free: 11.73 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.603e-06/1.099, allocations: 0 / 0.9748 GB, free: 11.73 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003641/1.099, allocations: 0 / 0.9748 GB, free: 11.73 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.0182/1.118, allocations: 7.474 MB / 0.9821 GB, free: 4.121 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/1.118, allocations: 12.03 kB / 0.9821 GB, free: 4.109 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003397/1.121, allocations: 0.7881 MB / 0.9828 GB, free: 3.312 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01406/1.135, allocations: 5.355 MB / 0.9881 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003691/1.136, allocations: 332 kB / 0.9884 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001209/1.137, allocations: 427.9 kB / 0.9888 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01145/1.148, allocations: 4.377 MB / 0.9931 GB, free: 8.477 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001748/1.148, allocations: 11.94 kB / 0.9931 GB, free: 8.465 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008495/1.149, allocations: 180 kB / 0.9933 GB, free: 8.289 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001571/1.15, allocations: 119.9 kB / 0.9934 GB, free: 8.172 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006115/1.156, allocations: 2.972 MB / 0.9963 GB, free: 5.195 MB / 0.6856 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.2889/1.445, allocations: 25.11 MB / 1.021 GB, free: 273.4 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003398/1.448, allocations: 2.76 MB / 1.023 GB, free: 272.1 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001639/1.45, allocations: 0.9939 MB / 1.024 GB, free: 271.7 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002272/1.452, allocations: 3.907 MB / 1.028 GB, free: 267.2 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.394e-05/1.452, allocations: 64.77 kB / 1.028 GB, free: 267.1 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=217): time 3.967e-06/1.452, allocations: 0 / 1.028 GB, free: 267.1 MB / 0.7012 GB Notification: Performance of matching and sorting (n=217): time 0.01066/1.463, allocations: 4.059 MB / 1.032 GB, free: 265.8 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/1.463, allocations: 74.62 kB / 1.032 GB, free: 265.7 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007247/1.47, allocations: 4.306 MB / 1.037 GB, free: 264.3 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0004933/1.471, allocations: 80.7 kB / 1.037 GB, free: 264.2 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001967/1.472, allocations: 2.775 MB / 1.039 GB, free: 262.6 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008632/1.473, allocations: 0.7612 MB / 1.04 GB, free: 262 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007834/1.474, allocations: 0.5682 MB / 1.041 GB, free: 261.7 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 4.469e-05/1.474, allocations: 303.9 kB / 1.041 GB, free: 261.4 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/1.476, allocations: 0.8236 MB / 1.042 GB, free: 261.1 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001988/1.478, allocations: 1.819 MB / 1.044 GB, free: 259.6 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003417/1.481, allocations: 2.518 MB / 1.046 GB, free: 257.9 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.418e-05/1.481, allocations: 10.16 kB / 1.046 GB, free: 257.9 MB / 0.7012 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008371/1.489, allocations: 3.552 MB / 1.049 GB, free: 256.4 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.611e-05/1.489, allocations: 13.44 kB / 1.049 GB, free: 256.4 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.482e-05/1.49, allocations: 26.17 kB / 1.05 GB, free: 256.4 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002702/1.492, allocations: 0.5865 MB / 1.05 GB, free: 256.3 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002129/1.494, allocations: 0.5536 MB / 1.051 GB, free: 256.2 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001854/1.496, allocations: 2.688 MB / 1.053 GB, free: 253.9 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00391/1.5, allocations: 322.9 kB / 1.054 GB, free: 253.7 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005157/1.501, allocations: 136.7 kB / 1.054 GB, free: 253.7 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003306/1.504, allocations: 1.568 MB / 1.055 GB, free: 252.9 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002082/1.506, allocations: 1.798 MB / 1.057 GB, free: 251.4 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00332/1.509, allocations: 2.461 MB / 1.059 GB, free: 249.7 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.616e-05/1.509, allocations: 5.812 kB / 1.059 GB, free: 249.7 MB / 0.7012 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.006478/1.516, allocations: 3.314 MB / 1.063 GB, free: 248.3 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/1.516, allocations: 15.72 kB / 1.063 GB, free: 248.3 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-05/1.516, allocations: 23.72 kB / 1.063 GB, free: 248.3 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008959/1.517, allocations: 371.9 kB / 1.063 GB, free: 248.2 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/1.519, allocations: 0.5546 MB / 1.064 GB, free: 248.1 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006047/1.525, allocations: 8.447 MB / 1.072 GB, free: 240.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004071/1.529, allocations: 290.8 kB / 1.072 GB, free: 240.6 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004002/1.529, allocations: 141.7 kB / 1.072 GB, free: 240.6 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,12), (1,9), (1,12), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0007485/1.53, allocations: 369.5 kB / 1.073 GB, free: 240.2 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001531/1.531, allocations: 0.5075 MB / 1.073 GB, free: 240 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005356/1.537, allocations: 3.555 MB / 1.077 GB, free: 238.5 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.522e-05/1.537, allocations: 35.56 kB / 1.077 GB, free: 238.5 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/1.537, allocations: 0 / 1.077 GB, free: 238.5 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003424/1.54, allocations: 2.437 MB / 1.079 GB, free: 237.5 MB / 0.7012 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 postOpt removeSimpleEquations (simulation): time 0.01412/1.554, allocations: 8.211 MB / 1.087 GB, free: 232.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/1.555, allocations: 0 / 1.087 GB, free: 232.6 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/1.556, allocations: 363 kB / 1.087 GB, free: 232.5 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006437/1.556, allocations: 305.9 kB / 1.088 GB, free: 232.3 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/1.557, allocations: 65.47 kB / 1.088 GB, free: 232.3 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/1.558, allocations: 2.49 MB / 1.09 GB, free: 230 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.269e-06/1.558, allocations: 7.875 kB / 1.09 GB, free: 230 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006773/1.565, allocations: 4.329 MB / 1.094 GB, free: 226.9 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002847/1.567, allocations: 0.8863 MB / 1.095 GB, free: 226 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008571/1.568, allocations: 51.98 kB / 1.095 GB, free: 225.9 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002289/1.571, allocations: 115.3 kB / 1.095 GB, free: 225.8 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002091/1.571, allocations: 157.8 kB / 1.096 GB, free: 225.7 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001961/1.571, allocations: 107.9 kB / 1.096 GB, free: 225.6 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003978/1.575, allocations: 2.85 MB / 1.098 GB, free: 222.7 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.41e-07/1.575, allocations: 0 / 1.098 GB, free: 222.7 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00929/1.584, allocations: 3.233 MB / 1.102 GB, free: 219.6 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * 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 (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,9), (1,7), (1,9), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002603/1.587, allocations: 1.519 MB / 1.103 GB, free: 218.4 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.006421/1.593, allocations: 4.429 MB / 1.107 GB, free: 213.9 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/1.593, allocations: 4 kB / 1.107 GB, free: 213.9 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001751/1.595, allocations: 1.225 MB / 1.109 GB, free: 212.7 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01152/1.607, allocations: 2.64 MB / 1.111 GB, free: 210.3 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01242/1.619, allocations: 9.011 MB / 1.12 GB, free: 201.3 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001656/1.621, allocations: 2.873 MB / 1.123 GB, free: 198.4 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.004099/1.625, allocations: 1.154 MB / 1.124 GB, free: 197.3 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008742/1.626, allocations: 411.2 kB / 1.124 GB, free: 196.9 MB / 0.7012 GB Notification: Performance of SimCode: time 8.71e-07/1.626, allocations: 0 / 1.124 GB, free: 196.9 MB / 0.7012 GB Notification: Performance of Templates: time 0.134/1.76, allocations: 104.2 MB / 1.226 GB, free: 93.86 MB / 0.7012 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)