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.0008712/0.0008712, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.0008869/0.0008869, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.182/1.182, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8214/0.8214, allocations: 135.2 MB / 426.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003015/0.0003016, allocations: 13.39 kB / 0.5068 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1439, allocations: 82.31 MB / 0.5872 GB, free: 3.094 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.4551/0.599, allocations: 250.9 MB / 0.8322 GB, free: 1.074 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.3722/0.9712, allocations: 43 MB / 0.8742 GB, free: 60.82 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01195/0.9832, allocations: 248.7 kB / 0.8744 GB, free: 60.82 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01159/0.9949, allocations: 2.982 MB / 0.8773 GB, free: 60.82 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0278/1.023, allocations: 9.187 MB / 0.8863 GB, free: 60.71 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0162/1.039, allocations: 5.965 MB / 0.8921 GB, free: 60.61 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.02279/1.062, allocations: 10.82 MB / 0.9027 GB, free: 60.6 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01117/1.073, allocations: 4.349 MB / 0.9069 GB, free: 60.07 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01547/1.088, allocations: 5.408 MB / 0.9122 GB, free: 60.05 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01027/1.099, allocations: 3.212 MB / 0.9154 GB, free: 60.04 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002386/1.101, allocations: 229.3 kB / 0.9156 GB, free: 60.04 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0149/1.116, allocations: 2.796 MB / 0.9183 GB, free: 60.04 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00334/1.119, allocations: 1.028 MB / 0.9193 GB, free: 60.04 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.005308/1.125, allocations: 1.375 MB / 0.9206 GB, free: 60 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0136/1.138, allocations: 7.307 MB / 0.9278 GB, free: 59.41 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/1.138, allocations: 0 / 0.9278 GB, free: 59.41 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.423e-06/1.138, allocations: 0.5938 kB / 0.9278 GB, free: 59.41 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.000412/1.139, allocations: 0 / 0.9278 GB, free: 59.41 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.01586/1.155, allocations: 6.244 MB / 0.9339 GB, free: 55.83 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/1.155, allocations: 12.41 kB / 0.9339 GB, free: 55.83 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00351/1.158, allocations: 0.7829 MB / 0.9347 GB, free: 55.45 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01171/1.17, allocations: 4.693 MB / 0.9392 GB, free: 53.56 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003327/1.17, allocations: 326.7 kB / 0.9396 GB, free: 53.55 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001154/1.172, allocations: 430.3 kB / 0.94 GB, free: 53.54 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007514/1.179, allocations: 4.317 MB / 0.9442 GB, free: 52.04 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.789e-05/1.179, allocations: 18.11 kB / 0.9442 GB, free: 52.04 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003408/1.18, allocations: 175.8 kB / 0.9444 GB, free: 52.04 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.924e-05/1.18, allocations: 122.9 kB / 0.9445 GB, free: 52.03 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004369/1.184, allocations: 2.939 MB / 0.9474 GB, free: 51.62 MB / 0.67 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.02269/1.207, allocations: 25.17 MB / 0.9719 GB, free: 32.73 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00221/1.209, allocations: 2.766 MB / 0.9746 GB, free: 31.36 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001883/1.211, allocations: 3.91 MB / 0.9785 GB, free: 26.86 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.041e-05/1.211, allocations: 68.33 kB / 0.9785 GB, free: 26.82 MB / 0.67 GB Notification: Performance of pre-optimization done (n=217): time 4.158e-06/1.211, allocations: 3.562 kB / 0.9785 GB, free: 26.82 MB / 0.67 GB Notification: Performance of matching and sorting (n=217): time 0.008759/1.22, allocations: 4.052 MB / 0.9825 GB, free: 25.43 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/1.22, allocations: 83.91 kB / 0.9826 GB, free: 25.36 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005517/1.225, allocations: 4.394 MB / 0.9868 GB, free: 23.92 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0004013/1.226, allocations: 81.58 kB / 0.9869 GB, free: 23.87 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001509/1.227, allocations: 2.781 MB / 0.9896 GB, free: 22.38 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006144/1.228, allocations: 0.7682 MB / 0.9904 GB, free: 21.72 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/1.228, allocations: 59.06 kB / 0.9904 GB, free: 21.71 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001095/1.228, allocations: 417.7 kB / 0.9908 GB, free: 21.34 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/1.229, allocations: 0.7856 MB / 0.9916 GB, free: 20.84 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/1.231, allocations: 1.782 MB / 0.9934 GB, free: 19 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001297/1.232, allocations: 1.073 MB / 0.9944 GB, free: 18.38 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/1.232, allocations: 8 kB / 0.9944 GB, free: 18.37 MB / 0.67 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.00603/1.238, allocations: 3.498 MB / 0.9978 GB, free: 15.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.001497/1.239, allocations: 10.32 MB / 1.008 GB, free: 4.891 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.52e-05/1.239, allocations: 24 kB / 1.008 GB, free: 4.867 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002149/1.242, allocations: 0.5582 MB / 1.008 GB, free: 4.371 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/1.243, allocations: 0.5599 MB / 1.009 GB, free: 3.871 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/1.245, allocations: 2.688 MB / 1.012 GB, free: 1.34 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005398/1.25, allocations: 0.6098 MB / 1.012 GB, free: 0.7734 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003003/1.25, allocations: 135.3 kB / 1.012 GB, free: 0.6641 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/1.25, allocations: 4 kB / 1.012 GB, free: 0.6602 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004314/1.255, allocations: 2.802 MB / 1.015 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/1.255, allocations: 20 kB / 1.015 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008893/1.256, allocations: 384.2 kB / 1.015 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/1.257, allocations: 0.5511 MB / 1.016 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007956/1.265, allocations: 7.783 MB / 1.024 GB, free: 6.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005476/1.271, allocations: 0.5752 MB / 1.024 GB, free: 6.223 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000462/1.271, allocations: 131.3 kB / 1.024 GB, free: 6.117 MB / 0.6856 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.002887/1.274, allocations: 1.002 MB / 1.025 GB, free: 5.562 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001495/1.276, allocations: 0.5055 MB / 1.026 GB, free: 5.051 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005558/1.281, allocations: 3.578 MB / 1.029 GB, free: 2.488 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.765e-05/1.281, allocations: 35.22 kB / 1.029 GB, free: 2.457 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.281, allocations: 0 / 1.029 GB, free: 2.457 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003228/1.285, allocations: 2.427 MB / 1.032 GB, free: 0.7812 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 postOpt removeSimpleEquations (simulation): time 0.01406/1.299, allocations: 8.293 MB / 1.04 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/1.299, allocations: 0 / 1.04 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/1.3, allocations: 377.8 kB / 1.04 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000647/1.301, allocations: 298.1 kB / 1.04 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/1.301, allocations: 66.77 kB / 1.04 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001612/1.302, allocations: 2.487 MB / 1.043 GB, free: 7.789 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.302, allocations: 3.953 kB / 1.043 GB, free: 7.785 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006808/1.309, allocations: 4.433 MB / 1.047 GB, free: 4.594 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004334/1.314, allocations: 1.02 MB / 1.048 GB, free: 3.801 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009566/1.315, allocations: 48.17 kB / 1.048 GB, free: 3.785 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003157/1.318, allocations: 419.3 kB / 1.049 GB, free: 3.41 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002192/1.318, allocations: 164.7 kB / 1.049 GB, free: 3.266 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002082/1.318, allocations: 107.5 kB / 1.049 GB, free: 3.18 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.004202/1.322, allocations: 2.923 MB / 1.052 GB, free: 1.152 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.61e-07/1.322, allocations: 0 / 1.052 GB, free: 1.152 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0131/1.336, allocations: 3.323 MB / 1.055 GB, free: 14.06 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003035/1.339, allocations: 1.529 MB / 1.057 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006907/1.345, allocations: 4.407 MB / 1.061 GB, free: 9.555 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/1.346, allocations: 4.312 kB / 1.061 GB, free: 9.551 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001855/1.347, allocations: 1.221 MB / 1.062 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01256/1.36, allocations: 2.604 MB / 1.065 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01735/1.377, allocations: 11.03 MB / 1.075 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002158/1.38, allocations: 2.991 MB / 1.078 GB, free: 9.383 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.004933/1.385, allocations: 1.154 MB / 1.079 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009707/1.385, allocations: 429 kB / 1.08 GB, free: 7.855 MB / 0.7325 GB Notification: Performance of SimCode: time 5.51e-07/1.385, allocations: 0 / 1.08 GB, free: 7.855 MB / 0.7325 GB Notification: Performance of Templates: time 0.5233/1.909, allocations: 103.2 MB / 1.181 GB, free: 188.8 MB / 0.8106 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: