Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001527/0.001534, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001776/0.001776, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.347/1.347, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7949/0.7949, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 71.59 kB / 0.5821 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1257, allocations: 80.22 MB / 0.6604 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.5549/0.6807, allocations: 300.3 MB / 0.9537 GB, free: 2.637 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.06455/0.7453, allocations: 49.95 MB / 1.002 GB, free: 0.5625 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008641/0.7539, allocations: 298.2 kB / 1.003 GB, free: 276 kB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.008632/0.7626, allocations: 3.513 MB / 1.006 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.02327/0.7859, allocations: 9.474 MB / 1.015 GB, free: 3.223 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01512/0.801, allocations: 6.692 MB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.02477/0.8258, allocations: 18.51 MB / 1.04 GB, free: 10.01 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008325/0.8342, allocations: 5.854 MB / 1.046 GB, free: 4.051 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.383/1.217, allocations: 7.56 MB / 1.053 GB, free: 47.74 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01037/1.228, allocations: 5.087 MB / 1.058 GB, free: 47.74 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0019/1.23, allocations: 0.569 MB / 1.059 GB, free: 47.74 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01166/1.241, allocations: 4.381 MB / 1.063 GB, free: 47.74 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001962/1.243, allocations: 1.508 MB / 1.064 GB, free: 47.74 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.006763/1.25, allocations: 3.736 MB / 1.068 GB, free: 46.93 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01851/1.268, allocations: 10.48 MB / 1.078 GB, free: 45.42 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/1.269, allocations: 2.094 kB / 1.078 GB, free: 45.42 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.904e-06/1.269, allocations: 0 / 1.078 GB, free: 45.42 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001969/1.269, allocations: 0 / 1.078 GB, free: 45.42 MB / 0.795 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.01156/1.28, allocations: 7.709 MB / 1.086 GB, free: 41.85 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/1.28, allocations: 8.344 kB / 1.086 GB, free: 41.85 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001973/1.282, allocations: 0.8268 MB / 1.087 GB, free: 41.44 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007866/1.29, allocations: 5.408 MB / 1.092 GB, free: 40.29 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/1.29, allocations: 324.1 kB / 1.092 GB, free: 40.28 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004863/1.291, allocations: 433.2 kB / 1.093 GB, free: 40.27 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005939/1.297, allocations: 4.374 MB / 1.097 GB, free: 39.47 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.267e-05/1.297, allocations: 14.66 kB / 1.097 GB, free: 39.47 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003323/1.297, allocations: 176.4 kB / 1.097 GB, free: 39.47 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.87e-05/1.297, allocations: 123.1 kB / 1.097 GB, free: 39.47 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004387/1.302, allocations: 2.96 MB / 1.1 GB, free: 39.44 MB / 0.795 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.0196/1.321, allocations: 25.16 MB / 1.125 GB, free: 23.56 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002443/1.324, allocations: 2.765 MB / 1.127 GB, free: 22.38 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001248/1.325, allocations: 0.9948 MB / 1.128 GB, free: 22.36 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002047/1.327, allocations: 3.91 MB / 1.132 GB, free: 17.95 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.104e-05/1.327, allocations: 66.09 kB / 1.132 GB, free: 17.91 MB / 0.795 GB Notification: Performance of pre-optimization done (n=217): time 4.499e-06/1.327, allocations: 3.938 kB / 1.132 GB, free: 17.9 MB / 0.795 GB Notification: Performance of matching and sorting (n=217): time 0.009756/1.337, allocations: 4.097 MB / 1.136 GB, free: 17.02 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/1.337, allocations: 75.28 kB / 1.136 GB, free: 16.96 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005242/1.342, allocations: 4.303 MB / 1.14 GB, free: 16.6 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002812/1.343, allocations: 77.67 kB / 1.141 GB, free: 16.57 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001517/1.344, allocations: 2.824 MB / 1.143 GB, free: 15.66 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005768/1.345, allocations: 0.8001 MB / 1.144 GB, free: 15.13 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006613/1.345, allocations: 0.5745 MB / 1.145 GB, free: 15.08 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 3.258e-05/1.345, allocations: 308.3 kB / 1.145 GB, free: 14.79 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/1.347, allocations: 0.8195 MB / 1.146 GB, free: 14.76 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/1.348, allocations: 1.825 MB / 1.148 GB, free: 13.59 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002832/1.351, allocations: 2.507 MB / 1.15 GB, free: 12.72 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/1.351, allocations: 8.547 kB / 1.15 GB, free: 12.72 MB / 0.795 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.006734/1.358, allocations: 3.573 MB / 1.153 GB, free: 12.21 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/1.358, allocations: 13.88 kB / 1.154 GB, free: 12.21 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.208e-05/1.358, allocations: 21.06 kB / 1.154 GB, free: 12.21 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002445/1.36, allocations: 0.5811 MB / 1.154 GB, free: 12.14 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/1.362, allocations: 0.5585 MB / 1.155 GB, free: 12.14 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/1.364, allocations: 2.696 MB / 1.157 GB, free: 10.04 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003303/1.367, allocations: 332.4 kB / 1.158 GB, free: 9.898 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002121/1.367, allocations: 132 kB / 1.158 GB, free: 9.898 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002498/1.37, allocations: 1.572 MB / 1.159 GB, free: 9.809 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00161/1.371, allocations: 1.798 MB / 1.161 GB, free: 8.645 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002751/1.374, allocations: 2.457 MB / 1.163 GB, free: 7.77 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.033e-05/1.374, allocations: 7.906 kB / 1.163 GB, free: 7.77 MB / 0.795 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.005252/1.379, allocations: 3.334 MB / 1.167 GB, free: 7.297 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/1.379, allocations: 22.97 kB / 1.167 GB, free: 7.289 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/1.379, allocations: 24.88 kB / 1.167 GB, free: 7.289 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008786/1.38, allocations: 365.7 kB / 1.167 GB, free: 7.25 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/1.382, allocations: 0.5499 MB / 1.168 GB, free: 7.25 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005803/1.387, allocations: 8.471 MB / 1.176 GB, free: 0.9375 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003627/1.391, allocations: 292.3 kB / 1.176 GB, free: 0.8398 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002096/1.391, allocations: 136.2 kB / 1.176 GB, free: 0.8398 MB / 0.795 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.0006569/1.392, allocations: 368.4 kB / 1.177 GB, free: 0.6406 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009015/1.393, allocations: 0.5263 MB / 1.177 GB, free: 364 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005484/1.398, allocations: 3.561 MB / 1.181 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003356/1.402, allocations: 2.436 MB / 1.183 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/1.402, allocations: 0 / 1.183 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001899/1.404, allocations: 0.9113 MB / 1.184 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005867/1.404, allocations: 47.16 kB / 1.184 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002166/1.406, allocations: 120.7 kB / 1.184 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002889/1.407, allocations: 185.5 kB / 1.184 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004883/1.412, allocations: 2.827 MB / 1.187 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005733/1.417, allocations: 4.131 MB / 1.191 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001373/1.419, allocations: 1.05 MB / 1.192 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.004064/1.423, allocations: 2.845 MB / 1.195 GB, free: 9.637 MB / 0.8106 GB Notification: Performance of Backend: time 2.6e-07/1.423, allocations: 0 / 1.195 GB, free: 9.637 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01017/1.433, allocations: 5.213 MB / 1.2 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of SimCode: time 0.01919/1.452, allocations: 11.65 MB / 1.211 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of Templates: time 0.1641/1.616, allocations: 109.5 MB / 1.318 GB, free: 14.5 MB / 0.9356 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)