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.001165/0.001165, allocations: 104.5 kB / 16.41 MB, free: 6.449 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.001104/0.001104, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.194/1.194, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7448/0.7448, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 73.02 kB / 0.5863 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1228, allocations: 80.92 MB / 0.6653 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.4992/0.622, allocations: 300.3 MB / 0.9586 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.05856/0.6806, allocations: 49.95 MB / 1.007 GB, free: 9.98 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008004/0.6887, allocations: 298.2 kB / 1.008 GB, free: 9.688 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.007627/0.6963, allocations: 3.415 MB / 1.011 GB, free: 6.25 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.02054/0.7169, allocations: 9.021 MB / 1.02 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.01359/0.7305, allocations: 6.629 MB / 1.026 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.02152/0.752, allocations: 18.45 MB / 1.044 GB, free: 4.102 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3482/1.1, allocations: 5.85 MB / 1.05 GB, free: 46.29 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01576/1.116, allocations: 7.547 MB / 1.057 GB, free: 46.28 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00915/1.125, allocations: 5.093 MB / 1.062 GB, free: 45.8 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002341/1.128, allocations: 0.5685 MB / 1.063 GB, free: 45.8 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01145/1.139, allocations: 4.376 MB / 1.067 GB, free: 45.8 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.002991/1.142, allocations: 1.511 MB / 1.069 GB, free: 45.54 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.006657/1.149, allocations: 3.733 MB / 1.072 GB, free: 44.51 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01483/1.164, allocations: 10.44 MB / 1.083 GB, free: 43.27 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.164, allocations: 4.469 kB / 1.083 GB, free: 43.27 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.423e-06/1.164, allocations: 3.938 kB / 1.083 GB, free: 43.26 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001582/1.164, allocations: 0 / 1.083 GB, free: 43.26 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.01054/1.174, allocations: 7.479 MB / 1.09 GB, free: 39.86 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/1.174, allocations: 9.609 kB / 1.09 GB, free: 39.86 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001824/1.176, allocations: 0.7864 MB / 1.091 GB, free: 39.49 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007001/1.183, allocations: 5.353 MB / 1.096 GB, free: 38.38 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/1.183, allocations: 321.9 kB / 1.096 GB, free: 38.36 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004191/1.184, allocations: 434.8 kB / 1.097 GB, free: 38.36 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00527/1.189, allocations: 4.379 MB / 1.101 GB, free: 37.55 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.803e-05/1.189, allocations: 17.72 kB / 1.101 GB, free: 37.55 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002906/1.189, allocations: 176.7 kB / 1.101 GB, free: 37.55 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-05/1.19, allocations: 124.2 kB / 1.101 GB, free: 37.55 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00386/1.193, allocations: 2.964 MB / 1.104 GB, free: 37.52 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.01651/1.21, allocations: 25.11 MB / 1.129 GB, free: 21.66 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002121/1.212, allocations: 2.77 MB / 1.131 GB, free: 20.48 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/1.213, allocations: 0.9946 MB / 1.132 GB, free: 20.47 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001696/1.215, allocations: 3.908 MB / 1.136 GB, free: 16.06 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/1.215, allocations: 65.19 kB / 1.136 GB, free: 16.02 MB / 0.795 GB Notification: Performance of pre-optimization done (n=217): time 3.567e-06/1.215, allocations: 0 / 1.136 GB, free: 16.02 MB / 0.795 GB Notification: Performance of matching and sorting (n=217): time 0.008185/1.223, allocations: 4.063 MB / 1.14 GB, free: 15.15 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/1.223, allocations: 73.16 kB / 1.14 GB, free: 15.08 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004296/1.227, allocations: 4.306 MB / 1.144 GB, free: 14.73 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002091/1.228, allocations: 80.55 kB / 1.144 GB, free: 14.7 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001372/1.229, allocations: 2.772 MB / 1.147 GB, free: 13.83 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004932/1.23, allocations: 0.7614 MB / 1.148 GB, free: 13.34 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005658/1.23, allocations: 0.5705 MB / 1.148 GB, free: 13.29 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 3.087e-05/1.23, allocations: 301.1 kB / 1.149 GB, free: 13 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/1.231, allocations: 0.8255 MB / 1.15 GB, free: 12.96 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00148/1.233, allocations: 1.819 MB / 1.151 GB, free: 11.8 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00252/1.235, allocations: 2.512 MB / 1.154 GB, free: 10.93 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/1.235, allocations: 5.781 kB / 1.154 GB, free: 10.93 MB / 0.795 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.006188/1.241, allocations: 3.553 MB / 1.157 GB, free: 10.43 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/1.241, allocations: 16.41 kB / 1.157 GB, free: 10.43 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/1.241, allocations: 20.91 kB / 1.157 GB, free: 10.43 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002354/1.244, allocations: 0.5869 MB / 1.158 GB, free: 10.37 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/1.245, allocations: 0.5601 MB / 1.158 GB, free: 10.36 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/1.247, allocations: 2.683 MB / 1.161 GB, free: 8.266 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002766/1.249, allocations: 327.2 kB / 1.161 GB, free: 8.121 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001688/1.249, allocations: 137.5 kB / 1.161 GB, free: 8.121 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002311/1.252, allocations: 1.568 MB / 1.163 GB, free: 8.031 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001424/1.253, allocations: 1.8 MB / 1.165 GB, free: 6.859 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002429/1.256, allocations: 2.46 MB / 1.167 GB, free: 5.984 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.118e-06/1.256, allocations: 4.594 kB / 1.167 GB, free: 5.984 MB / 0.795 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.004835/1.261, allocations: 3.317 MB / 1.17 GB, free: 5.527 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/1.261, allocations: 16.47 kB / 1.17 GB, free: 5.527 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/1.261, allocations: 20.84 kB / 1.17 GB, free: 5.527 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007908/1.261, allocations: 360.3 kB / 1.171 GB, free: 5.492 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/1.263, allocations: 0.5583 MB / 1.171 GB, free: 5.488 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005491/1.268, allocations: 8.46 MB / 1.18 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002993/1.271, allocations: 291.8 kB / 1.18 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001657/1.271, allocations: 133.4 kB / 1.18 GB, free: 14.86 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.0006087/1.272, allocations: 365.1 kB / 1.18 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007726/1.273, allocations: 0.5053 MB / 1.181 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005108/1.278, allocations: 3.566 MB / 1.184 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.92e-05/1.278, allocations: 41.03 kB / 1.184 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.278, allocations: 3.938 kB / 1.184 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003329/1.281, allocations: 2.43 MB / 1.187 GB, free: 11.2 MB / 0.8106 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.01036/1.292, allocations: 8.198 MB / 1.195 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/1.292, allocations: 4 kB / 1.195 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/1.293, allocations: 361 kB / 1.195 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006559/1.294, allocations: 311.2 kB / 1.195 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/1.294, allocations: 69.16 kB / 1.195 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001479/1.295, allocations: 2.485 MB / 1.198 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.295, allocations: 6.875 kB / 1.198 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006091/1.301, allocations: 4.337 MB / 1.202 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001626/1.303, allocations: 0.8767 MB / 1.203 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004554/1.303, allocations: 44 kB / 1.203 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001975/1.305, allocations: 127.8 kB / 1.203 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002168/1.306, allocations: 153.8 kB / 1.203 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001722/1.306, allocations: 107.9 kB / 1.203 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.003666/1.309, allocations: 2.855 MB / 1.206 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.6e-07/1.309, allocations: 2.812 kB / 1.206 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.006689/1.316, allocations: 3.234 MB / 1.209 GB, free: 6.516 MB / 0.8262 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.00234/1.319, allocations: 1.508 MB / 1.211 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.006303/1.325, allocations: 4.426 MB / 1.215 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/1.325, allocations: 7.375 kB / 1.215 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001695/1.327, allocations: 1.236 MB / 1.216 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008867/1.335, allocations: 2.624 MB / 1.219 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/1.347, allocations: 9.083 MB / 1.228 GB, free: 3.98 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002085/1.35, allocations: 2.862 MB / 1.231 GB, free: 1.09 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009723/1.351, allocations: 432.9 kB / 1.231 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of SimCode: time 5.01e-07/1.351, allocations: 0 / 1.231 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of Templates: time 0.4536/1.804, allocations: 192.3 MB / 1.419 GB, free: 480.6 MB / 1.014 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)