Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005164/0.005164, allocations: 102.4 kB / 15.73 MB, free: 6.488 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.00116/0.001161, allocations: 194.5 kB / 16.68 MB, free: 6.375 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9081/0.9081, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 71.88 kB / 0.5857 GB, free: 3.352 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.4238, allocations: 80.91 MB / 0.6647 GB, free: 7.574 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter mov.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.07236/0.4962, allocations: 53.28 MB / 0.7167 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03498/0.5312, allocations: 15.18 MB / 0.7315 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004852/0.5361, allocations: 91.5 kB / 0.7316 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004828/0.541, allocations: 1.128 MB / 0.7327 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009655/0.5507, allocations: 2.444 MB / 0.7351 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007282/0.558, allocations: 2.279 MB / 0.7373 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00875/0.5667, allocations: 4.622 MB / 0.7418 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003464/0.5702, allocations: 1.629 MB / 0.7434 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00533/0.5756, allocations: 1.966 MB / 0.7453 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00277/0.5784, allocations: 1.346 MB / 0.7467 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007755/0.5792, allocations: 168 kB / 0.7468 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004868/0.584, allocations: 1.845 MB / 0.7486 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001107/0.5852, allocations: 0.5216 MB / 0.7491 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002342/0.5875, allocations: 1.03 MB / 0.7501 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007374/0.5949, allocations: 3.338 MB / 0.7534 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.5949, allocations: 0 / 0.7534 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.205e-06/0.595, allocations: 0 / 0.7534 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001122/0.5951, allocations: 0 / 0.7534 GB, free: 6.543 MB / 0.5762 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.006856/0.6019, allocations: 2.525 MB / 0.7559 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.602, allocations: 8.031 kB / 0.7559 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002371/0.6044, allocations: 461.3 kB / 0.7563 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004166/0.6086, allocations: 1.667 MB / 0.7579 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.6087, allocations: 94.2 kB / 0.758 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003297/0.609, allocations: 120 kB / 0.7581 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003044/0.6121, allocations: 1.343 MB / 0.7594 GB, free: 124 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.815e-05/0.6121, allocations: 7.938 kB / 0.7595 GB, free: 116 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/0.6123, allocations: 48 kB / 0.7595 GB, free: 68 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.898e-05/0.6123, allocations: 45.94 kB / 0.7595 GB, free: 20 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002752/0.6151, allocations: 1.077 MB / 0.7606 GB, free: 14.93 MB / 0.5919 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.01067/0.6258, allocations: 7.076 MB / 0.7675 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002336/0.6281, allocations: 1.356 MB / 0.7688 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009454/0.6291, allocations: 424.7 kB / 0.7692 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005155/0.6343, allocations: 3.087 MB / 0.7722 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009932/0.6353, allocations: 446.8 kB / 0.7727 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 3.086e-06/0.6353, allocations: 0 / 0.7727 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.003106/0.6384, allocations: 1.205 MB / 0.7738 GB, free: 324 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.6385, allocations: 59.95 kB / 0.7739 GB, free: 252 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002137/0.6406, allocations: 1.541 MB / 0.7754 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.233e-05/0.6407, allocations: 41.7 kB / 0.7755 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008114/0.6415, allocations: 0.8839 MB / 0.7763 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/0.6418, allocations: 209 kB / 0.7765 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003214/0.6421, allocations: 210.3 kB / 0.7767 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.6422, allocations: 341.9 kB / 0.777 GB, free: 13 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008925/0.6431, allocations: 376.6 kB / 0.7774 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.6443, allocations: 0.7514 MB / 0.7781 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001979/0.6463, allocations: 1.117 MB / 0.7792 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.6464, allocations: 4 kB / 0.7792 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00275/0.6491, allocations: 1.293 MB / 0.7805 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.061e-05/0.6492, allocations: 33.7 kB / 0.7805 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.6492, allocations: 12 kB / 0.7805 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.691e-05/0.6492, allocations: 16 kB / 0.7805 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009635/0.6502, allocations: 256.1 kB / 0.7808 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.606e-05/0.6502, allocations: 23.92 kB / 0.7808 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/0.6513, allocations: 135.7 kB / 0.7809 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.6515, allocations: 55.98 kB / 0.781 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001409/0.6529, allocations: 0.6698 MB / 0.7817 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001103/0.654, allocations: 0.7358 MB / 0.7824 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001936/0.656, allocations: 1.082 MB / 0.7834 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.057e-06/0.656, allocations: 4 kB / 0.7834 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002611/0.6586, allocations: 1.254 MB / 0.7847 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.6586, allocations: 42.31 kB / 0.7847 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.6587, allocations: 19.94 kB / 0.7847 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.6587, allocations: 19.94 kB / 0.7847 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009706/0.6597, allocations: 251.6 kB / 0.785 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.807e-05/0.6597, allocations: 19.94 kB / 0.785 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.6607, allocations: 116 kB / 0.7851 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.01e-05/0.6608, allocations: 55.97 kB / 0.7852 GB, free: 3.992 MB / 0.6075 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.0002909/0.6611, allocations: 257.2 kB / 0.7854 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002429/0.6614, allocations: 161.9 kB / 0.7856 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002633/0.664, allocations: 1.112 MB / 0.7866 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.664, allocations: 8 kB / 0.7867 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.6641, allocations: 0 / 0.7867 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001831/0.6659, allocations: 0.9587 MB / 0.7876 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004423/0.6703, allocations: 2.409 MB / 0.7899 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.6704, allocations: 0 / 0.7899 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007308/0.6711, allocations: 151.8 kB / 0.7901 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00017/0.6713, allocations: 24.84 kB / 0.7901 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-05/0.6713, allocations: 23.98 kB / 0.7901 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/0.6726, allocations: 1.417 MB / 0.7915 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.6726, allocations: 3.938 kB / 0.7915 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003321/0.6759, allocations: 1.535 MB / 0.793 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006992/0.6766, allocations: 346.5 kB / 0.7933 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/0.6768, allocations: 23.94 kB / 0.7934 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007759/0.6776, allocations: 55.94 kB / 0.7934 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.6777, allocations: 48.5 kB / 0.7935 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.941e-05/0.6778, allocations: 31.97 kB / 0.7935 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001542/0.6793, allocations: 1.093 MB / 0.7946 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.91e-07/0.6793, allocations: 0 / 0.7946 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002721/0.6821, allocations: 0.8576 MB / 0.7954 GB, free: 9.129 MB / 0.6231 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.001995/0.6841, allocations: 0.7349 MB / 0.7961 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004074/0.6882, allocations: 1.578 MB / 0.7977 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.6882, allocations: 0 / 0.7977 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00131/0.6895, allocations: 0.5416 MB / 0.7982 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003281/0.6928, allocations: 0.7664 MB / 0.7989 GB, free: 5.625 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005592/0.6984, allocations: 3.027 MB / 0.8019 GB, free: 2.559 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008874/0.6993, allocations: 1.364 MB / 0.8032 GB, free: 1.168 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001493/0.7008, allocations: 417.8 kB / 0.8036 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003227/0.7011, allocations: 135.4 kB / 0.8038 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of SimCode: time 6.41e-07/0.7012, allocations: 0 / 0.8038 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of Templates: time 0.05473/0.7559, allocations: 31.68 MB / 0.8347 GB, free: 1.348 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)