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.001046/0.001046, allocations: 108 kB / 15.6 MB, free: 132 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.001071/0.001071, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.333/1.333, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9239/0.9239, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 63.75 kB / 0.5053 GB, free: 5.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1824, allocations: 80.93 MB / 0.5844 GB, free: 4.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003252/0.1857, allocations: 1.565 MB / 0.5859 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.1874, allocations: 0.8945 MB / 0.5868 GB, free: 2.078 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.1875, allocations: 0 / 0.5868 GB, free: 2.078 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.393e-05/0.1876, allocations: 11.81 kB / 0.5868 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.1879, allocations: 23.78 kB / 0.5868 GB, free: 2.043 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004545/0.1883, allocations: 143.6 kB / 0.5869 GB, free: 1.902 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.1885, allocations: 71.72 kB / 0.587 GB, free: 1.832 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.1887, allocations: 15.98 kB / 0.587 GB, free: 1.816 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.1888, allocations: 35.8 kB / 0.5871 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.1889, allocations: 43.83 kB / 0.5871 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.189, allocations: 4 kB / 0.5871 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004259/0.1894, allocations: 283.6 kB / 0.5874 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.18e-05/0.1894, allocations: 4 kB / 0.5874 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.188e-05/0.1895, allocations: 35.8 kB / 0.5874 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.1898, allocations: 147.9 kB / 0.5876 GB, free: 1.273 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.1898, allocations: 3.984 kB / 0.5876 GB, free: 1.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1898, allocations: 0 / 0.5876 GB, free: 1.27 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1898, allocations: 0 / 0.5876 GB, free: 1.27 MB / 494.1 MB 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.0006239/0.1904, allocations: 411.1 kB / 0.588 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.1905, allocations: 8.031 kB / 0.588 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.1906, allocations: 12.84 kB / 0.588 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.1908, allocations: 198.4 kB / 0.5882 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.484e-06/0.1909, allocations: 384 / 0.5882 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.582e-05/0.1909, allocations: 12.06 kB / 0.5882 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.1911, allocations: 57.67 kB / 0.5882 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1911, allocations: 0 / 0.5882 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.1911, allocations: 4 kB / 0.5882 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1912, allocations: 7.984 kB / 0.5882 GB, free: 496 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.1913, allocations: 43.95 kB / 0.5883 GB, free: 452 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000473/0.1918, allocations: 288.8 kB / 0.5886 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.192, allocations: 66.48 kB / 0.5886 GB, free: 36 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.905e-05/0.192, allocations: 24.97 kB / 0.5887 GB, free: 8 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.1921, allocations: 80 / 0.5887 GB, free: 8 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.1921, allocations: 34.56 kB / 0.5887 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1921, allocations: 0 / 0.5887 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0004131/0.1925, allocations: 113.5 kB / 0.5888 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.1926, allocations: 59.34 kB / 0.5888 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.1927, allocations: 125.8 kB / 0.589 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.1927, allocations: 25.7 kB / 0.589 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.323e-05/0.1928, allocations: 100.1 kB / 0.5891 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.1928, allocations: 23.64 kB / 0.5891 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/0.1929, allocations: 21.66 kB / 0.5891 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.193, allocations: 322.8 kB / 0.5894 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.285e-05/0.1931, allocations: 23.98 kB / 0.5895 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.816e-05/0.1932, allocations: 23.98 kB / 0.5895 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.1933, allocations: 52.83 kB / 0.5895 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1934, allocations: 4 kB / 0.5895 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002277/0.1936, allocations: 81.67 kB / 0.5896 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1936, allocations: 7.938 kB / 0.5896 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1936, allocations: 3.984 kB / 0.5896 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.1936, allocations: 4 kB / 0.5896 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.1938, allocations: 12 kB / 0.5896 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.1938, allocations: 3.984 kB / 0.5896 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.266e-05/0.1939, allocations: 11.84 kB / 0.5897 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.1939, allocations: 3.938 kB / 0.5897 GB, free: 14.9 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 7.83e-05/0.194, allocations: 113.8 kB / 0.5898 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.715e-05/0.194, allocations: 7.906 kB / 0.5898 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003358/0.1944, allocations: 105.9 kB / 0.5899 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1944, allocations: 4 kB / 0.5899 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1944, allocations: 0 / 0.5899 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.1944, allocations: 0.5 kB / 0.5899 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.1946, allocations: 181.6 kB / 0.5901 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1946, allocations: 0 / 0.5901 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.841e-05/0.1947, allocations: 19.98 kB / 0.5901 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1947, allocations: 0 / 0.5901 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.1947, allocations: 3.984 kB / 0.5901 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1947, allocations: 4 kB / 0.5901 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1947, allocations: 0 / 0.5901 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.195, allocations: 187.4 kB / 0.5903 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.894e-05/0.1951, allocations: 85 kB / 0.5903 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.1951, allocations: 4 kB / 0.5903 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.626e-05/0.1952, allocations: 4 kB / 0.5904 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.1952, allocations: 15.92 kB / 0.5904 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.1952, allocations: 0 / 0.5904 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.186e-05/0.1953, allocations: 109.5 kB / 0.5905 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1953, allocations: 0 / 0.5905 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002473/0.1956, allocations: 20 kB / 0.5905 GB, free: 13.95 MB / 0.4981 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.0001896/0.1958, allocations: 116.5 kB / 0.5906 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000223/0.196, allocations: 51.97 kB / 0.5907 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.196, allocations: 4 kB / 0.5907 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.734e-05/0.1961, allocations: 39.91 kB / 0.5907 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.1965, allocations: 15.92 kB / 0.5907 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004402/0.1969, allocations: 192.3 kB / 0.5909 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.1972, allocations: 0.6885 MB / 0.5916 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.109e-05/0.1973, allocations: 11.92 kB / 0.5916 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.1973, allocations: 15.44 kB / 0.5916 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1973, allocations: 4 kB / 0.5916 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of Templates: time 0.003604/0.201, allocations: 1.068 MB / 0.5926 GB, free: 11.7 MB / 0.4981 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)