Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001372/0.001372, allocations: 112.8 kB / 16.37 MB, free: 6.012 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.001416/0.001417, allocations: 192.5 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.763/1.763, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 67.91 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2468, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003029/0.2499, allocations: 1.609 MB / 0.7864 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.2514, allocations: 0.9092 MB / 0.7873 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.862e-05/0.2515, allocations: 4 kB / 0.7873 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.15e-05/0.2516, allocations: 7.922 kB / 0.7873 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000219/0.2518, allocations: 23.78 kB / 0.7873 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003439/0.2521, allocations: 143.6 kB / 0.7874 GB, free: 488 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.2523, allocations: 71.72 kB / 0.7875 GB, free: 416 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.738e-05/0.2524, allocations: 12 kB / 0.7875 GB, free: 404 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.646e-05/0.2525, allocations: 35.84 kB / 0.7875 GB, free: 368 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.2526, allocations: 39.78 kB / 0.7876 GB, free: 328 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.2527, allocations: 7.938 kB / 0.7876 GB, free: 320 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003628/0.253, allocations: 283.6 kB / 0.7879 GB, free: 36 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.995e-05/0.2531, allocations: 15.92 kB / 0.7879 GB, free: 20 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.4272/0.6803, allocations: 26.91 kB / 0.7879 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004097/0.6807, allocations: 151.5 kB / 0.788 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.6808, allocations: 0 / 0.788 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6808, allocations: 0 / 0.788 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.6808, allocations: 2.625 kB / 0.788 GB, free: 47.31 MB / 0.6544 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.0005382/0.6813, allocations: 403 kB / 0.7884 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.6814, allocations: 11.75 kB / 0.7884 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.6815, allocations: 13.52 kB / 0.7885 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.6817, allocations: 191.1 kB / 0.7886 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.6817, allocations: 10.88 kB / 0.7886 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.6818, allocations: 0.5625 kB / 0.7886 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.6819, allocations: 66.5 kB / 0.7887 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.682, allocations: 0 / 0.7887 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.682, allocations: 2.25 kB / 0.7887 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.682, allocations: 3.219 kB / 0.7887 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.6821, allocations: 43.03 kB / 0.7888 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003903/0.6825, allocations: 298.6 kB / 0.789 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.6827, allocations: 54.92 kB / 0.7891 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.235e-05/0.6827, allocations: 30.94 kB / 0.7891 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.6828, allocations: 3.469 kB / 0.7891 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.6828, allocations: 30.56 kB / 0.7892 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.6828, allocations: 1 kB / 0.7892 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.000339/0.6831, allocations: 112.5 kB / 0.7893 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.6832, allocations: 51.41 kB / 0.7893 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.273e-05/0.6833, allocations: 131 kB / 0.7894 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.318e-06/0.6833, allocations: 26.3 kB / 0.7895 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.513e-05/0.6833, allocations: 99.16 kB / 0.7896 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.6833, allocations: 17.77 kB / 0.7896 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.6834, allocations: 20.53 kB / 0.7896 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.575e-05/0.6834, allocations: 321.4 kB / 0.7899 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.124e-05/0.6835, allocations: 23.42 kB / 0.7899 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.87e-05/0.6836, allocations: 25.53 kB / 0.7899 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.6837, allocations: 53.92 kB / 0.79 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6837, allocations: 0 / 0.79 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001787/0.6839, allocations: 90.98 kB / 0.7901 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.6839, allocations: 5.25 kB / 0.7901 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.6839, allocations: 1.875 kB / 0.7901 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.684, allocations: 2.688 kB / 0.7901 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.6841, allocations: 16.88 kB / 0.7901 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.6841, allocations: 0 / 0.7901 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.67e-05/0.6841, allocations: 13.81 kB / 0.7901 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.6842, allocations: 2.625 kB / 0.7901 GB, free: 45.66 MB / 0.6544 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 5.578e-05/0.6842, allocations: 120.3 kB / 0.7902 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.069e-05/0.6843, allocations: 10 kB / 0.7902 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002233/0.6845, allocations: 99.45 kB / 0.7903 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.6845, allocations: 3.188 kB / 0.7903 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6845, allocations: 0 / 0.7903 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.6845, allocations: 0.5 kB / 0.7903 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.6847, allocations: 186.7 kB / 0.7905 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.6847, allocations: 1.625 kB / 0.7905 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.347e-05/0.6848, allocations: 13.78 kB / 0.7905 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.6848, allocations: 4.5 kB / 0.7905 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.6848, allocations: 0 / 0.7905 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.6848, allocations: 4.469 kB / 0.7905 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.6848, allocations: 2.094 kB / 0.7906 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.685, allocations: 190.4 kB / 0.7907 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.749e-05/0.685, allocations: 94.56 kB / 0.7908 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.6851, allocations: 4.312 kB / 0.7908 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.837e-05/0.6852, allocations: 6.125 kB / 0.7908 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.6852, allocations: 6.453 kB / 0.7908 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.6852, allocations: 2.344 kB / 0.7908 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.108e-05/0.6852, allocations: 101.3 kB / 0.7909 GB, free: 45 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6853, allocations: 0.625 kB / 0.7909 GB, free: 45 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002312/0.6855, allocations: 27.11 kB / 0.791 GB, free: 45 MB / 0.6544 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.0001565/0.6857, allocations: 116.2 kB / 0.7911 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001976/0.6859, allocations: 57.98 kB / 0.7911 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.6859, allocations: 0 / 0.7911 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.602e-05/0.6859, allocations: 30.44 kB / 0.7912 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.6862, allocations: 14.11 kB / 0.7912 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003922/0.6866, allocations: 224.1 kB / 0.7914 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.6868, allocations: 0.689 MB / 0.7921 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.247e-05/0.6868, allocations: 14.34 kB / 0.7921 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.6868, allocations: 0 / 0.7921 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of Templates: time 0.002582/0.6894, allocations: 1.111 MB / 0.7932 GB, free: 44.02 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)