Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.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: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.549/1.549, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7394/0.7394, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 61.08 kB / 0.5019 GB, free: 3.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4114/0.4128, allocations: 80.21 MB / 0.5802 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.05384/0.4667, allocations: 53.26 MB / 0.6322 GB, free: 11.79 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02237/0.4891, allocations: 15.2 MB / 0.647 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003309/0.4925, allocations: 87.5 kB / 0.6471 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003299/0.4958, allocations: 1.112 MB / 0.6482 GB, free: 11.7 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006512/0.5023, allocations: 2.348 MB / 0.6505 GB, free: 9.348 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006239/0.5086, allocations: 2.247 MB / 0.6527 GB, free: 7.121 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006404/0.515, allocations: 4.626 MB / 0.6572 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002599/0.5176, allocations: 1.623 MB / 0.6588 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004393/0.522, allocations: 1.895 MB / 0.6606 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0023/0.5243, allocations: 1.361 MB / 0.662 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004872/0.5248, allocations: 168 kB / 0.6621 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004016/0.5288, allocations: 1.833 MB / 0.6639 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007666/0.5296, allocations: 0.5215 MB / 0.6644 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001708/0.5313, allocations: 1.038 MB / 0.6654 GB, free: 10 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005155/0.5365, allocations: 3.275 MB / 0.6686 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.5365, allocations: 3.938 kB / 0.6687 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5365, allocations: 0 / 0.6687 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.263e-05/0.5366, allocations: 0 / 0.6687 GB, free: 6.711 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.004893/0.5415, allocations: 2.529 MB / 0.6711 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.5415, allocations: 12.03 kB / 0.6711 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002278/0.5418, allocations: 161.2 kB / 0.6713 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002204/0.544, allocations: 461.2 kB / 0.6717 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003132/0.5471, allocations: 1.597 MB / 0.6733 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003952/0.5475, allocations: 150.4 kB / 0.6734 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000202/0.5478, allocations: 116 kB / 0.6735 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002606/0.5504, allocations: 1.346 MB / 0.6749 GB, free: 132 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.5504, allocations: 0 / 0.6749 GB, free: 132 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.5505, allocations: 47.94 kB / 0.6749 GB, free: 84 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.342e-05/0.5506, allocations: 46.05 kB / 0.6749 GB, free: 36 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002791/0.5534, allocations: 1.089 MB / 0.676 GB, free: 14.94 MB / 0.5137 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.009386/0.5628, allocations: 7.142 MB / 0.683 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002653/0.5654, allocations: 1.359 MB / 0.6843 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.5665, allocations: 424.4 kB / 0.6847 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005391/0.5719, allocations: 3.083 MB / 0.6877 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001108/0.573, allocations: 442.8 kB / 0.6881 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 2.395e-06/0.573, allocations: 0 / 0.6881 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60): time 0.003383/0.5764, allocations: 1.221 MB / 0.6893 GB, free: 244 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.5765, allocations: 59.95 kB / 0.6894 GB, free: 172 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002146/0.5786, allocations: 1.533 MB / 0.6909 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.028e-05/0.5787, allocations: 45.64 kB / 0.6909 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008479/0.5796, allocations: 0.8839 MB / 0.6918 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000218/0.5798, allocations: 212.9 kB / 0.692 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003109/0.5801, allocations: 214.3 kB / 0.6922 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.5802, allocations: 341.9 kB / 0.6925 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.5812, allocations: 380.6 kB / 0.6929 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/0.5825, allocations: 0.7553 MB / 0.6936 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002265/0.5848, allocations: 1.125 MB / 0.6947 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/0.5848, allocations: 7.938 kB / 0.6947 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002887/0.5877, allocations: 1.294 MB / 0.696 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.537e-05/0.5878, allocations: 41.7 kB / 0.696 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.5878, allocations: 8 kB / 0.6961 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.992e-05/0.5878, allocations: 20 kB / 0.6961 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.5889, allocations: 260.1 kB / 0.6963 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.666e-05/0.5889, allocations: 27.86 kB / 0.6963 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.59, allocations: 139.6 kB / 0.6965 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.491e-05/0.5901, allocations: 51.98 kB / 0.6965 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001475/0.5916, allocations: 0.6737 MB / 0.6972 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001245/0.5928, allocations: 0.7436 MB / 0.6979 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002196/0.595, allocations: 1.089 MB / 0.699 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.788e-06/0.5951, allocations: 4 kB / 0.699 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002888/0.598, allocations: 1.27 MB / 0.7002 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.514e-05/0.598, allocations: 37.7 kB / 0.7003 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.598, allocations: 12 kB / 0.7003 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.5981, allocations: 16 kB / 0.7003 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.5991, allocations: 256.2 kB / 0.7005 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.262e-05/0.5991, allocations: 23.88 kB / 0.7005 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/0.6002, allocations: 120 kB / 0.7007 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.068e-05/0.6003, allocations: 55.97 kB / 0.7007 GB, free: 3.836 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 118 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003131/0.6006, allocations: 251.8 kB / 0.701 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002829/0.6009, allocations: 165.9 kB / 0.7011 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002766/0.6037, allocations: 1.118 MB / 0.7022 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.6037, allocations: 8 kB / 0.7022 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.6037, allocations: 0 / 0.7022 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002093/0.6058, allocations: 0.9704 MB / 0.7032 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004557/0.6104, allocations: 2.424 MB / 0.7055 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.6104, allocations: 4 kB / 0.7055 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007824/0.6112, allocations: 147.8 kB / 0.7057 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001495/0.6114, allocations: 24.84 kB / 0.7057 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.135e-05/0.6114, allocations: 27.97 kB / 0.7057 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/0.6125, allocations: 1.417 MB / 0.7071 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.6125, allocations: 8.094 kB / 0.7071 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003413/0.6159, allocations: 1.541 MB / 0.7086 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005904/0.6165, allocations: 342.6 kB / 0.7089 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002327/0.6168, allocations: 23.92 kB / 0.709 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008808/0.6177, allocations: 59.88 kB / 0.709 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.6178, allocations: 52.5 kB / 0.7091 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.496e-05/0.6179, allocations: 27.97 kB / 0.7091 GB, free: 10.91 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001551/0.6194, allocations: 1.097 MB / 0.7102 GB, free: 9.785 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6194, allocations: 0 / 0.7102 GB, free: 9.785 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002347/0.6218, allocations: 0.8615 MB / 0.711 GB, free: 8.922 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005289/0.6271, allocations: 2.727 MB / 0.7137 GB, free: 6.336 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004044/0.6311, allocations: 1.656 MB / 0.7153 GB, free: 4.656 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.6312, allocations: 4 kB / 0.7153 GB, free: 4.652 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001198/0.6324, allocations: 0.5486 MB / 0.7158 GB, free: 4.094 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003274/0.6357, allocations: 0.766 MB / 0.7166 GB, free: 3.359 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02085/0.6565, allocations: 12.88 MB / 0.7292 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009827/0.6575, allocations: 1.36 MB / 0.7305 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001751/0.6593, allocations: 420.6 kB / 0.7309 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009572/0.6603, allocations: 0.7101 MB / 0.7316 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of SimCode: time 4.81e-07/0.6603, allocations: 0 / 0.7316 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5505/1.211, allocations: 44.82 MB / 0.7754 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/12.01, allocations: 17.39 kB / 0.7754 GB, free: 6.762 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Examples_WaterCooler_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_HeatExchangers_Examples_WaterCooler_T.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)