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: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.006975/0.006975, allocations: 98.45 kB / 15.73 MB, free: 6.066 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.001236/0.001236, allocations: 195.9 kB / 16.68 MB, free: 5.973 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7889/0.7889, allocations: 135.1 MB / 425.7 MB, free: 4.047 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 67.69 kB / 0.5851 GB, free: 21.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1648, allocations: 80.91 MB / 0.6642 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002969/0.1679, allocations: 1.586 MB / 0.6657 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.1694, allocations: 0.8968 MB / 0.6666 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.001e-05/0.1695, allocations: 0 / 0.6666 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.273e-05/0.1696, allocations: 11.86 kB / 0.6666 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002327/0.1699, allocations: 23.8 kB / 0.6666 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004126/0.1703, allocations: 138.6 kB / 0.6667 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.1705, allocations: 79.64 kB / 0.6668 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.1706, allocations: 18.81 kB / 0.6668 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.1707, allocations: 27.86 kB / 0.6669 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.1708, allocations: 39.83 kB / 0.6669 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.1709, allocations: 4 kB / 0.6669 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000406/0.1713, allocations: 287.6 kB / 0.6672 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.652e-05/0.1713, allocations: 11.94 kB / 0.6672 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.33e-05/0.1714, allocations: 27.86 kB / 0.6672 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003089/0.1717, allocations: 151.6 kB / 0.6674 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1717, allocations: 0 / 0.6674 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1717, allocations: 0 / 0.6674 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.1717, allocations: 0 / 0.6674 GB, free: 2.977 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.0006065/0.1723, allocations: 408 kB / 0.6678 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.1724, allocations: 9.109 kB / 0.6678 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.42e-05/0.1724, allocations: 38.75 kB / 0.6678 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.1725, allocations: 12.83 kB / 0.6678 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.1728, allocations: 196.1 kB / 0.668 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.1728, allocations: 4.125 kB / 0.668 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.1729, allocations: 7.984 kB / 0.668 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.1731, allocations: 61.66 kB / 0.6681 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.1731, allocations: 0 / 0.6681 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.1731, allocations: 0 / 0.6681 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.1731, allocations: 4 kB / 0.6681 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.1733, allocations: 47.97 kB / 0.6681 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005028/0.1738, allocations: 296.7 kB / 0.6684 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.1739, allocations: 50.56 kB / 0.6685 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.717e-05/0.174, allocations: 32.91 kB / 0.6685 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.174, allocations: 8 kB / 0.6685 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.1741, allocations: 30.56 kB / 0.6685 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.1741, allocations: 0 / 0.6685 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0003761/0.1745, allocations: 105.6 kB / 0.6686 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.1745, allocations: 51.41 kB / 0.6687 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.1746, allocations: 139.4 kB / 0.6688 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1747, allocations: 33.7 kB / 0.6688 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.402e-05/0.1747, allocations: 96.14 kB / 0.6689 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.1748, allocations: 23.73 kB / 0.6689 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/0.1748, allocations: 17.72 kB / 0.669 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1749, allocations: 322.8 kB / 0.6693 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.083e-05/0.175, allocations: 19.98 kB / 0.6693 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.424e-05/0.1751, allocations: 19.98 kB / 0.6693 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.1753, allocations: 56.83 kB / 0.6694 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1753, allocations: 0 / 0.6694 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002468/0.1755, allocations: 101.9 kB / 0.6695 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.1755, allocations: 4 kB / 0.6695 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1756, allocations: 0 / 0.6695 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.1756, allocations: 0 / 0.6695 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.1757, allocations: 15.98 kB / 0.6695 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1757, allocations: 0 / 0.6695 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.307e-05/0.1758, allocations: 11.94 kB / 0.6695 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.1758, allocations: 0 / 0.6695 GB, free: 0.5664 MB / 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 9.437e-05/0.1759, allocations: 117.8 kB / 0.6696 GB, free: 452 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.325e-05/0.176, allocations: 7.906 kB / 0.6696 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002604/0.1762, allocations: 101.9 kB / 0.6697 GB, free: 332 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1763, allocations: 0 / 0.6697 GB, free: 332 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1763, allocations: 4 kB / 0.6697 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.1763, allocations: 7.922 kB / 0.6697 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.1765, allocations: 177.6 kB / 0.6699 GB, free: 92 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.1765, allocations: 4 kB / 0.6699 GB, free: 88 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.359e-05/0.1766, allocations: 11.98 kB / 0.6699 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1766, allocations: 0 / 0.6699 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.1766, allocations: 4 kB / 0.6699 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.1766, allocations: 0 / 0.6699 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1766, allocations: 0 / 0.6699 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.1769, allocations: 195.3 kB / 0.6701 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.114e-05/0.177, allocations: 88.95 kB / 0.6702 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.177, allocations: 0 / 0.6702 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.359e-05/0.1771, allocations: 4 kB / 0.6702 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.1771, allocations: 12.05 kB / 0.6702 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.1771, allocations: 11.94 kB / 0.6702 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.309e-05/0.1772, allocations: 96.83 kB / 0.6703 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1772, allocations: 7.938 kB / 0.6703 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000268/0.1775, allocations: 24 kB / 0.6703 GB, free: 15.61 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.0006206/0.1781, allocations: 0.7293 MB / 0.671 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002167/0.1784, allocations: 59.97 kB / 0.6711 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1784, allocations: 0 / 0.6711 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.855e-05/0.1784, allocations: 27.97 kB / 0.6711 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.1788, allocations: 15.94 kB / 0.6711 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.1803, allocations: 1.457 MB / 0.6726 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.1806, allocations: 0.6885 MB / 0.6732 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.011e-05/0.1807, allocations: 15.72 kB / 0.6733 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.842e-05/0.1807, allocations: 19.44 kB / 0.6733 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.1807, allocations: 0 / 0.6733 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01931/0.2, allocations: 2.307 MB / 0.6755 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.609/7.809, allocations: 3.984 kB / 0.6755 GB, free: 10.27 MB / 0.5137 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)