Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001171/0.001171, allocations: 116.2 kB / 16.42 MB, free: 5.992 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.001173/0.001173, allocations: 184.8 kB / 17.35 MB, free: 5.602 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.172/1.172, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7077/0.7077, allocations: 135.1 MB / 426.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 67.55 kB / 0.5863 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1186, allocations: 80.92 MB / 0.6654 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.4932/0.6118, allocations: 300.3 MB / 0.9586 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.05806/0.6699, allocations: 49.93 MB / 1.007 GB, free: 9.82 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008028/0.6779, allocations: 298.2 kB / 1.008 GB, free: 9.527 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.008445/0.6864, allocations: 3.525 MB / 1.011 GB, free: 5.98 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.02192/0.7084, allocations: 9.462 MB / 1.02 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.01441/0.7228, allocations: 6.697 MB / 1.027 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.02108/0.7439, allocations: 18.51 MB / 1.045 GB, free: 3.266 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3422/1.086, allocations: 5.848 MB / 1.051 GB, free: 46.09 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01694/1.103, allocations: 7.571 MB / 1.058 GB, free: 46.09 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009341/1.112, allocations: 5.09 MB / 1.063 GB, free: 45.53 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002435/1.115, allocations: 0.5665 MB / 1.064 GB, free: 45.53 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01134/1.126, allocations: 4.377 MB / 1.068 GB, free: 45.53 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.002552/1.129, allocations: 1.507 MB / 1.069 GB, free: 45.27 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.007407/1.136, allocations: 3.738 MB / 1.073 GB, free: 44.23 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01563/1.152, allocations: 10.45 MB / 1.083 GB, free: 43 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.152, allocations: 2.469 kB / 1.083 GB, free: 43 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.413e-06/1.152, allocations: 0 / 1.083 GB, free: 43 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0002771/1.152, allocations: 0 / 1.083 GB, free: 43 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.01322/1.165, allocations: 7.476 MB / 1.091 GB, free: 39.61 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/1.165, allocations: 11.45 kB / 1.091 GB, free: 39.61 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001972/1.167, allocations: 0.7835 MB / 1.091 GB, free: 39.23 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007855/1.175, allocations: 5.358 MB / 1.097 GB, free: 38.12 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/1.175, allocations: 325.4 kB / 1.097 GB, free: 38.1 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004376/1.176, allocations: 429.3 kB / 1.097 GB, free: 38.1 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006045/1.182, allocations: 4.377 MB / 1.102 GB, free: 37.3 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.485e-05/1.182, allocations: 22.09 kB / 1.102 GB, free: 37.29 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003169/1.182, allocations: 172.6 kB / 1.102 GB, free: 37.29 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.568e-05/1.183, allocations: 119.6 kB / 1.102 GB, free: 37.29 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004211/1.187, allocations: 2.964 MB / 1.105 GB, free: 37.26 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.0193/1.206, allocations: 25.12 MB / 1.129 GB, free: 21.41 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00223/1.208, allocations: 2.765 MB / 1.132 GB, free: 20.23 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001127/1.209, allocations: 0.9958 MB / 1.133 GB, free: 20.22 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001703/1.211, allocations: 3.903 MB / 1.137 GB, free: 15.8 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/1.211, allocations: 71.28 kB / 1.137 GB, free: 15.76 MB / 0.795 GB Notification: Performance of pre-optimization done (n=217): time 4.118e-06/1.211, allocations: 0 / 1.137 GB, free: 15.76 MB / 0.795 GB Notification: Performance of matching and sorting (n=217): time 0.008858/1.22, allocations: 4.064 MB / 1.141 GB, free: 14.89 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/1.22, allocations: 74.88 kB / 1.141 GB, free: 14.83 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00484/1.225, allocations: 4.3 MB / 1.145 GB, free: 14.47 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002898/1.225, allocations: 80.08 kB / 1.145 GB, free: 14.44 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001397/1.227, allocations: 2.771 MB / 1.148 GB, free: 13.57 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005287/1.227, allocations: 0.7654 MB / 1.149 GB, free: 13.09 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005982/1.228, allocations: 0.573 MB / 1.149 GB, free: 13.04 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 3.252e-05/1.228, allocations: 304.1 kB / 1.149 GB, free: 12.74 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/1.229, allocations: 0.8235 MB / 1.15 GB, free: 12.71 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001554/1.231, allocations: 1.818 MB / 1.152 GB, free: 11.55 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002654/1.233, allocations: 2.513 MB / 1.154 GB, free: 10.67 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/1.233, allocations: 5.938 kB / 1.154 GB, free: 10.67 MB / 0.795 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.006618/1.24, allocations: 3.562 MB / 1.158 GB, free: 10.17 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/1.24, allocations: 13.75 kB / 1.158 GB, free: 10.17 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/1.24, allocations: 20.94 kB / 1.158 GB, free: 10.17 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002253/1.242, allocations: 0.5761 MB / 1.159 GB, free: 10.11 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/1.244, allocations: 0.5565 MB / 1.159 GB, free: 10.11 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/1.245, allocations: 2.694 MB / 1.162 GB, free: 8.008 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003065/1.248, allocations: 325.7 kB / 1.162 GB, free: 7.867 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/1.248, allocations: 143.5 kB / 1.162 GB, free: 7.859 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002419/1.251, allocations: 1.566 MB / 1.164 GB, free: 7.77 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001458/1.252, allocations: 1.794 MB / 1.165 GB, free: 6.602 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002528/1.255, allocations: 2.463 MB / 1.168 GB, free: 5.727 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.679e-06/1.255, allocations: 7.344 kB / 1.168 GB, free: 5.727 MB / 0.795 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.004943/1.26, allocations: 3.309 MB / 1.171 GB, free: 5.277 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/1.26, allocations: 16.91 kB / 1.171 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/1.26, allocations: 20.72 kB / 1.171 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000766/1.26, allocations: 370.2 kB / 1.171 GB, free: 5.184 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/1.262, allocations: 0.558 MB / 1.172 GB, free: 5.109 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005748/1.268, allocations: 8.455 MB / 1.18 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003488/1.271, allocations: 298.5 kB / 1.181 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001833/1.271, allocations: 130.4 kB / 1.181 GB, free: 14.27 MB / 0.8106 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.0006612/1.272, allocations: 364.9 kB / 1.181 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008681/1.273, allocations: 0.506 MB / 1.182 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005973/1.279, allocations: 3.561 MB / 1.185 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003611/1.282, allocations: 2.43 MB / 1.187 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/1.282, allocations: 0 / 1.187 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002124/1.285, allocations: 0.8826 MB / 1.188 GB, free: 9.992 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009623/1.286, allocations: 47.25 kB / 1.188 GB, free: 9.977 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002683/1.288, allocations: 132.1 kB / 1.188 GB, free: 9.883 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000276/1.289, allocations: 184.6 kB / 1.189 GB, free: 9.719 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004899/1.293, allocations: 2.82 MB / 1.191 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005731/1.299, allocations: 4.099 MB / 1.195 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001295/1.3, allocations: 1.051 MB / 1.196 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.004214/1.305, allocations: 2.848 MB / 1.199 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of Backend: time 4.51e-07/1.305, allocations: 3.938 kB / 1.199 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01007/1.315, allocations: 5.196 MB / 1.204 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of SimCode: time 0.01903/1.334, allocations: 11.44 MB / 1.215 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of Templates: time 0.1564/1.49, allocations: 109.5 MB / 1.322 GB, free: 5.406 MB / 0.9356 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)