Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001259, allocations: 110.1 kB / 16.37 MB, free: 6.477 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.001141/0.001141, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.252/1.252, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001997/0.001997, allocations: 278 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8937/0.8937, allocations: 169.2 MB / 0.4989 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 102.4 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1687, allocations: 86.97 MB / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002995/0.1717, allocations: 2.111 MB / 0.6837 GB, free: 5.332 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.1732, allocations: 1.041 MB / 0.6847 GB, free: 4.281 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.1733, allocations: 7.938 kB / 0.6847 GB, free: 4.273 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.616e-05/0.1734, allocations: 27.66 kB / 0.6847 GB, free: 4.246 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002712/0.1736, allocations: 75.3 kB / 0.6848 GB, free: 4.172 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000384/0.174, allocations: 195.5 kB / 0.685 GB, free: 3.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000289/0.1743, allocations: 294.8 kB / 0.6853 GB, free: 3.691 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.1745, allocations: 68.64 kB / 0.6853 GB, free: 3.625 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.1746, allocations: 111.5 kB / 0.6854 GB, free: 3.516 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.1748, allocations: 139.4 kB / 0.6856 GB, free: 3.379 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.287e-05/0.1749, allocations: 16 kB / 0.6856 GB, free: 3.363 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003668/0.1752, allocations: 303.6 kB / 0.6859 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.995e-05/0.1753, allocations: 43.78 kB / 0.6859 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.83e-05/0.1754, allocations: 123.3 kB / 0.686 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003352/0.1757, allocations: 322.9 kB / 0.6863 GB, free: 2.586 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1757, allocations: 4 kB / 0.6863 GB, free: 2.582 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1757, allocations: 4 kB / 0.6863 GB, free: 2.578 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1758, allocations: 3.938 kB / 0.6864 GB, free: 2.574 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009743/0.1767, allocations: 0.6348 MB / 0.687 GB, free: 1.891 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.1768, allocations: 8.031 kB / 0.687 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002012/0.177, allocations: 32.66 kB / 0.687 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003793/0.1774, allocations: 283.5 kB / 0.6873 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.1774, allocations: 20.58 kB / 0.6873 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.1774, allocations: 16.38 kB / 0.6873 GB, free: 1.504 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004619/0.1779, allocations: 229 kB / 0.6875 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1779, allocations: 0 / 0.6875 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.1779, allocations: 4 kB / 0.6875 GB, free: 1.254 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.1779, allocations: 7.938 kB / 0.6875 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005735/0.1785, allocations: 199.8 kB / 0.6877 GB, free: 1.051 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.1795, allocations: 0.9383 MB / 0.6887 GB, free: 44 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2655/0.4451, allocations: 236.8 kB / 0.6889 GB, free: 18.28 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003425/0.4455, allocations: 104.6 kB / 0.689 GB, free: 18.26 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.428e-05/0.4455, allocations: 10.64 kB / 0.689 GB, free: 18.26 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/0.4455, allocations: 36.33 kB / 0.689 GB, free: 18.22 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 2.544e-06/0.4455, allocations: 0 / 0.689 GB, free: 18.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001157/0.4467, allocations: 330.3 kB / 0.6893 GB, free: 18.19 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.4467, allocations: 83.45 kB / 0.6894 GB, free: 18.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/0.447, allocations: 265.8 kB / 0.6897 GB, free: 18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.4471, allocations: 29.98 kB / 0.6897 GB, free: 17.96 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.639e-05/0.4472, allocations: 160.5 kB / 0.6899 GB, free: 17.88 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.4472, allocations: 55.16 kB / 0.6899 GB, free: 17.87 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.488e-05/0.4473, allocations: 40.5 kB / 0.6899 GB, free: 17.85 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.517e-05/0.4474, allocations: 339 kB / 0.6903 GB, free: 17.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003098/0.4477, allocations: 91.47 kB / 0.6904 GB, free: 17.54 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/0.448, allocations: 139.8 kB / 0.6905 GB, free: 17.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006137/0.4486, allocations: 244.9 kB / 0.6907 GB, free: 17.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4486, allocations: 0 / 0.6907 GB, free: 17.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008091/0.4494, allocations: 288.6 kB / 0.691 GB, free: 17.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.4495, allocations: 13.06 kB / 0.691 GB, free: 17.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.4495, allocations: 3.031 kB / 0.691 GB, free: 17.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.4495, allocations: 3.453 kB / 0.691 GB, free: 17.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/0.4498, allocations: 60.55 kB / 0.6911 GB, free: 17.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.4499, allocations: 4.312 kB / 0.6911 GB, free: 17.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/0.4501, allocations: 53.61 kB / 0.6911 GB, free: 17.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.4501, allocations: 7.344 kB / 0.6911 GB, free: 17.36 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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.985e-05/0.4502, allocations: 132.8 kB / 0.6913 GB, free: 17.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.4503, allocations: 24.5 kB / 0.6913 GB, free: 17.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007527/0.4511, allocations: 294.2 kB / 0.6916 GB, free: 17.19 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.4511, allocations: 4.188 kB / 0.6916 GB, free: 17.19 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4511, allocations: 2.438 kB / 0.6916 GB, free: 17.19 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.4511, allocations: 2.516 kB / 0.6916 GB, free: 17.19 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003418/0.4515, allocations: 300.6 kB / 0.6919 GB, free: 16.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4515, allocations: 5.234 kB / 0.6919 GB, free: 16.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.4518, allocations: 55.36 kB / 0.6919 GB, free: 16.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.4518, allocations: 1.406 kB / 0.6919 GB, free: 16.95 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.4518, allocations: 7.297 kB / 0.6919 GB, free: 16.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.4518, allocations: 1.734 kB / 0.6919 GB, free: 16.95 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4518, allocations: 3.375 kB / 0.6919 GB, free: 16.95 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007451/0.4526, allocations: 441.6 kB / 0.6924 GB, free: 16.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.703e-05/0.4526, allocations: 105.7 kB / 0.6925 GB, free: 16.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.4527, allocations: 5 kB / 0.6925 GB, free: 16.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002558/0.4529, allocations: 27.58 kB / 0.6925 GB, free: 16.56 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.284e-05/0.453, allocations: 18.66 kB / 0.6925 GB, free: 16.56 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.453, allocations: 3.688 kB / 0.6925 GB, free: 16.56 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001636/0.4532, allocations: 190.6 kB / 0.6927 GB, free: 16.45 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4532, allocations: 0 / 0.6927 GB, free: 16.45 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003646/0.4536, allocations: 62.2 kB / 0.6927 GB, free: 16.45 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0001702/0.4537, allocations: 115.3 kB / 0.6929 GB, free: 16.35 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007251/0.4545, allocations: 228.4 kB / 0.6931 GB, free: 16.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4545, allocations: 0 / 0.6931 GB, free: 16.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003334/0.4548, allocations: 116.4 kB / 0.6932 GB, free: 16.28 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005163/0.4554, allocations: 74.61 kB / 0.6933 GB, free: 16.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007369/0.4561, allocations: 448 kB / 0.6937 GB, free: 15.99 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/0.4563, allocations: 0.7517 MB / 0.6944 GB, free: 15.29 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001504/0.4565, allocations: 32.61 kB / 0.6945 GB, free: 15.29 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.325e-05/0.4565, allocations: 25.91 kB / 0.6945 GB, free: 15.27 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4565, allocations: 1.094 kB / 0.6945 GB, free: 15.27 MB / 494.1 MB Notification: Performance of Templates: time 0.009363/0.4659, allocations: 3.948 MB / 0.6983 GB, free: 15.05 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)