Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 104.9 kB / 16.4 MB, free: 6.5 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.001272/0.001272, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.211/1.211, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.725/0.725, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 63.17 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1319, allocations: 80.92 MB / 0.6653 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002465/0.1344, allocations: 1.578 MB / 0.6668 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.1357, allocations: 0.9161 MB / 0.6677 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.033e-05/0.1357, allocations: 0 / 0.6677 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.996e-05/0.1358, allocations: 3.938 kB / 0.6677 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.136, allocations: 19.8 kB / 0.6678 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.1363, allocations: 143.6 kB / 0.6679 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.1365, allocations: 79.66 kB / 0.668 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.882e-05/0.1366, allocations: 15.94 kB / 0.668 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.065e-05/0.1367, allocations: 31.89 kB / 0.668 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.1368, allocations: 31.86 kB / 0.668 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.1368, allocations: 4 kB / 0.6681 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003599/0.1372, allocations: 287.6 kB / 0.6683 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.1372, allocations: 11.92 kB / 0.6683 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.774e-05/0.1372, allocations: 31.81 kB / 0.6684 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.1375, allocations: 159.6 kB / 0.6685 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1375, allocations: 0 / 0.6685 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1375, allocations: 0 / 0.6685 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.1375, allocations: 0 / 0.6685 GB, free: 2.477 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004956/0.138, allocations: 403.1 kB / 0.6689 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.138, allocations: 9.109 kB / 0.6689 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.1382, allocations: 16.92 kB / 0.6689 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.1384, allocations: 188.1 kB / 0.6691 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.221e-06/0.1384, allocations: 384 / 0.6691 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.1384, allocations: 11.94 kB / 0.6691 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.1386, allocations: 65.64 kB / 0.6692 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.1386, allocations: 0 / 0.6692 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.1386, allocations: 0 / 0.6692 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1386, allocations: 0 / 0.6692 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.1387, allocations: 47.91 kB / 0.6692 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003897/0.1391, allocations: 296.8 kB / 0.6695 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.1393, allocations: 54.56 kB / 0.6696 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.252e-05/0.1394, allocations: 24.97 kB / 0.6696 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.1394, allocations: 4 kB / 0.6696 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.1394, allocations: 42.5 kB / 0.6696 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.1394, allocations: 0 / 0.6696 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0003354/0.1397, allocations: 105.5 kB / 0.6697 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.1398, allocations: 55.34 kB / 0.6698 GB, free: 1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.161e-05/0.1399, allocations: 127.7 kB / 0.6699 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.1399, allocations: 33.7 kB / 0.6699 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.916e-05/0.14, allocations: 104 kB / 0.67 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/0.14, allocations: 15.75 kB / 0.6701 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.14, allocations: 17.72 kB / 0.6701 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.652e-05/0.1401, allocations: 322.8 kB / 0.6704 GB, free: 368 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.849e-05/0.1402, allocations: 19.98 kB / 0.6704 GB, free: 348 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.523e-05/0.1403, allocations: 27.98 kB / 0.6704 GB, free: 320 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.1404, allocations: 56.77 kB / 0.6705 GB, free: 260 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1404, allocations: 4 kB / 0.6705 GB, free: 256 kB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001953/0.1406, allocations: 89.56 kB / 0.6706 GB, free: 160 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.1407, allocations: 4 kB / 0.6706 GB, free: 156 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1407, allocations: 0 / 0.6706 GB, free: 156 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1407, allocations: 448 / 0.6706 GB, free: 156 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.1408, allocations: 15.98 kB / 0.6706 GB, free: 140 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1408, allocations: 4 kB / 0.6706 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.806e-05/0.1409, allocations: 15.94 kB / 0.6706 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.1409, allocations: 3.984 kB / 0.6706 GB, free: 116 kB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 8.734e-05/0.141, allocations: 119.1 kB / 0.6707 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.141, allocations: 7.906 kB / 0.6707 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00024/0.1413, allocations: 93.95 kB / 0.6708 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1413, allocations: 4 kB / 0.6708 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1413, allocations: 4 kB / 0.6708 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.1413, allocations: 3.938 kB / 0.6708 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.1415, allocations: 177.6 kB / 0.671 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1415, allocations: 0 / 0.671 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.859e-05/0.1416, allocations: 15.98 kB / 0.671 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1416, allocations: 0 / 0.671 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.679e-06/0.1416, allocations: 0 / 0.671 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1416, allocations: 3.938 kB / 0.671 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1416, allocations: 4 kB / 0.671 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.1418, allocations: 191.4 kB / 0.6712 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.561e-05/0.1419, allocations: 84.95 kB / 0.6713 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.1419, allocations: 8 kB / 0.6713 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.044e-05/0.142, allocations: 3.984 kB / 0.6713 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.142, allocations: 7.938 kB / 0.6713 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-06/0.142, allocations: 3.938 kB / 0.6713 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.84e-05/0.1421, allocations: 105.1 kB / 0.6714 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1421, allocations: 4 kB / 0.6714 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002271/0.1423, allocations: 19.98 kB / 0.6714 GB, free: 15.17 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001545/0.1425, allocations: 115.3 kB / 0.6715 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001915/0.1427, allocations: 59.89 kB / 0.6716 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1427, allocations: 0 / 0.6716 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.933e-05/0.1428, allocations: 28.23 kB / 0.6716 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.1431, allocations: 24.06 kB / 0.6717 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003944/0.1435, allocations: 221.8 kB / 0.6719 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.1437, allocations: 0.6885 MB / 0.6725 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.45e-05/0.1437, allocations: 11.44 kB / 0.6725 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of SimCode: time 1.9e-07/0.1437, allocations: 0 / 0.6725 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of Templates: time 0.00244/0.1462, allocations: 1.12 MB / 0.6736 GB, free: 12.84 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)