Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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: translateModel(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000748/0.000748, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008089/0.0008089, allocations: 168.7 kB / 15.95 MB, free: 204 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.28/1.28, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7219/0.7219, allocations: 132.3 MB / 423.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003103/0.0003106, allocations: 16.62 kB / 0.5034 GB, free: 4.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3492, allocations: 81.57 MB / 0.5831 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.1932/0.5425, allocations: 192.4 MB / 0.7709 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01325/0.5558, allocations: 9.976 MB / 0.7807 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001454/0.5573, allocations: 55.62 kB / 0.7807 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00157/0.5588, allocations: 0.5431 MB / 0.7813 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004662/0.5635, allocations: 1.841 MB / 0.7831 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004821/0.5684, allocations: 1.743 MB / 0.7848 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004598/0.573, allocations: 3.982 MB / 0.7887 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001712/0.5747, allocations: 0.9918 MB / 0.7896 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003076/0.5778, allocations: 1.54 MB / 0.7911 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001663/0.5795, allocations: 1.05 MB / 0.7922 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002317/0.5797, allocations: 64 kB / 0.7922 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00393/0.5836, allocations: 2.242 MB / 0.7944 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004258/0.5841, allocations: 358.5 kB / 0.7948 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004772/0.5846, allocations: 348.8 kB / 0.7951 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002609/0.5872, allocations: 2.276 MB / 0.7973 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5872, allocations: 3.938 kB / 0.7973 GB, free: 4.621 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5872, allocations: 0 / 0.7973 GB, free: 4.621 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.081e-05/0.5873, allocations: 4 kB / 0.7973 GB, free: 4.617 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.004347/0.5916, allocations: 2.045 MB / 0.7993 GB, free: 2.512 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.5916, allocations: 8.031 kB / 0.7993 GB, free: 2.504 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002731/0.5944, allocations: 0.5833 MB / 0.7999 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002256/0.5966, allocations: 1.2 MB / 0.8011 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005856/0.5972, allocations: 217.9 kB / 0.8013 GB, free: 464 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.5974, allocations: 108 kB / 0.8014 GB, free: 356 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002561/0.6, allocations: 1.349 MB / 0.8027 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.6, allocations: 3.938 kB / 0.8027 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.6002, allocations: 40 kB / 0.8027 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-05/0.6002, allocations: 42 kB / 0.8028 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003072/0.6033, allocations: 1.394 MB / 0.8041 GB, free: 13.48 MB / 0.6387 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.007633/0.6109, allocations: 5.318 MB / 0.8093 GB, free: 7.871 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002368/0.6133, allocations: 1.078 MB / 0.8104 GB, free: 6.766 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001202/0.6145, allocations: 0.5617 MB / 0.8109 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009956/0.6155, allocations: 0.7825 MB / 0.8117 GB, free: 5.273 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001365/0.6169, allocations: 0.629 MB / 0.8123 GB, free: 4.633 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=82): time 2.174e-06/0.6169, allocations: 4 kB / 0.8123 GB, free: 4.629 MB / 0.6387 GB Notification: Performance of matching and sorting (n=82): time 0.003991/0.6209, allocations: 1.663 MB / 0.8139 GB, free: 2.965 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.621, allocations: 64.05 kB / 0.814 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/0.6225, allocations: 1.306 MB / 0.8153 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.949e-05/0.6226, allocations: 49.7 kB / 0.8153 GB, free: 1.52 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005006/0.6231, allocations: 0.6465 MB / 0.8159 GB, free: 0.8672 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/0.6233, allocations: 283.9 kB / 0.8162 GB, free: 0.5859 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.867e-05/0.6234, allocations: 20 kB / 0.8162 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.6235, allocations: 341.9 kB / 0.8166 GB, free: 232 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2954/0.9189, allocations: 0.5173 MB / 0.8171 GB, free: 30.57 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001655/0.9206, allocations: 0.7993 MB / 0.8179 GB, free: 30.32 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.922, allocations: 0.5993 MB / 0.8184 GB, free: 30.29 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.922, allocations: 1.25 kB / 0.8184 GB, free: 30.29 MB / 0.6387 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003495/0.9255, allocations: 1.516 MB / 0.8199 GB, free: 30.22 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.76e-05/0.9256, allocations: 269.3 kB / 0.8202 GB, free: 29.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.9256, allocations: 4.469 kB / 0.8202 GB, free: 29.93 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/0.9257, allocations: 12.88 kB / 0.8202 GB, free: 29.93 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00179/0.9275, allocations: 356.1 kB / 0.8205 GB, free: 29.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004237/0.9279, allocations: 1.195 MB / 0.8217 GB, free: 28.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.9293, allocations: 232.7 kB / 0.8219 GB, free: 28.76 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/0.9295, allocations: 54.88 kB / 0.822 GB, free: 28.76 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.935e-06/0.9295, allocations: 8.078 kB / 0.822 GB, free: 28.76 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003104/0.9326, allocations: 1.36 MB / 0.8233 GB, free: 28.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.9326, allocations: 10.42 kB / 0.8233 GB, free: 28.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.9326, allocations: 10.56 kB / 0.8233 GB, free: 28.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/0.9341, allocations: 322.7 kB / 0.8236 GB, free: 28.69 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/0.9341, allocations: 15.42 kB / 0.8237 GB, free: 28.69 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.9354, allocations: 224.5 kB / 0.8239 GB, free: 28.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.9355, allocations: 57.45 kB / 0.8239 GB, free: 28.68 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005606/0.9361, allocations: 411.7 kB / 0.8243 GB, free: 28.49 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/0.9363, allocations: 160.8 kB / 0.8245 GB, free: 28.45 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003105/0.9394, allocations: 1.377 MB / 0.8258 GB, free: 28.35 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.9394, allocations: 16.69 kB / 0.8258 GB, free: 28.34 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.9394, allocations: 0 / 0.8258 GB, free: 28.34 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.9394, allocations: 4.812 kB / 0.8258 GB, free: 28.34 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004636/0.9441, allocations: 2.885 MB / 0.8286 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.9441, allocations: 3.062 kB / 0.8287 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/0.9452, allocations: 243.2 kB / 0.8289 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.998e-06/0.9453, allocations: 7.188 kB / 0.8289 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.957e-05/0.9453, allocations: 31.44 kB / 0.8289 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003144/0.9457, allocations: 1.195 MB / 0.8301 GB, free: 26.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.9457, allocations: 7.594 kB / 0.8301 GB, free: 26.68 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004062/0.9497, allocations: 2.121 MB / 0.8322 GB, free: 26.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004463/0.9502, allocations: 375.2 kB / 0.8325 GB, free: 26.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001908/0.9504, allocations: 18.44 kB / 0.8325 GB, free: 26.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.9515, allocations: 135 kB / 0.8327 GB, free: 26.11 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.9517, allocations: 73.17 kB / 0.8327 GB, free: 26.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-05/0.9517, allocations: 49.48 kB / 0.8328 GB, free: 26.1 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001126/0.9529, allocations: 0.8737 MB / 0.8336 GB, free: 25.99 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8.11e-07/0.9529, allocations: 0 / 0.8336 GB, free: 25.99 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001945/0.9548, allocations: 0.7898 MB / 0.8344 GB, free: 25.93 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008013/0.9556, allocations: 467.8 kB / 0.8349 GB, free: 25.81 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004162/0.9598, allocations: 2.123 MB / 0.8369 GB, free: 25.62 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.9598, allocations: 0 / 0.8369 GB, free: 25.62 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001339/0.9612, allocations: 0.6686 MB / 0.8376 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002794/0.964, allocations: 0.6891 MB / 0.8383 GB, free: 25.56 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004173/0.9682, allocations: 3.223 MB / 0.8414 GB, free: 24.04 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005283/0.9687, allocations: 1.221 MB / 0.8426 GB, free: 23.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001666/0.9704, allocations: 410.1 kB / 0.843 GB, free: 23.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003452/0.9707, allocations: 127.7 kB / 0.8431 GB, free: 23.19 MB / 0.6387 GB Notification: Performance of SimCode: time 4.81e-07/0.9707, allocations: 0 / 0.8431 GB, free: 23.19 MB / 0.6387 GB Notification: Performance of Templates: time 0.03521/1.006, allocations: 28.46 MB / 0.8709 GB, free: 16.75 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)