Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.00131/0.00131, allocations: 106.6 kB / 16.29 MB, free: 6.43 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.001325/0.001325, allocations: 184 kB / 17.22 MB, free: 5.934 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.431/1.431, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.948/1.948, allocations: 292.3 MB / 0.5495 GB, free: 17.66 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.001596/0.001596, allocations: 68.33 kB / 0.6722 GB, free: 6.586 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2587, allocations: 114.6 MB / 0.7841 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.004049/0.2628, allocations: 2.145 MB / 0.7862 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002331/0.2652, allocations: 1.034 MB / 0.7872 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002402/0.2654, allocations: 8 kB / 0.7872 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 8.786e-05/0.2655, allocations: 27.66 kB / 0.7872 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004545/0.266, allocations: 79.3 kB / 0.7873 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006155/0.2667, allocations: 191.5 kB / 0.7875 GB, free: 404 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004407/0.2671, allocations: 302.7 kB / 0.7878 GB, free: 100 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.2673, allocations: 60.98 kB / 0.7878 GB, free: 36 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4854/0.7527, allocations: 101.8 kB / 0.7879 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002728/0.753, allocations: 148.1 kB / 0.7881 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.892e-05/0.7531, allocations: 16 kB / 0.7881 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000456/0.7535, allocations: 295.2 kB / 0.7884 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.495e-05/0.7536, allocations: 44.3 kB / 0.7884 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.7537, allocations: 122.3 kB / 0.7885 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003912/0.7541, allocations: 336 kB / 0.7888 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.7541, allocations: 0.7188 kB / 0.7888 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.532e-06/0.7541, allocations: 2.906 kB / 0.7888 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.7541, allocations: 1 kB / 0.7889 GB, free: 45.97 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008881/0.755, allocations: 0.625 MB / 0.7895 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.7551, allocations: 8.094 kB / 0.7895 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002113/0.7553, allocations: 39.47 kB / 0.7895 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.7555, allocations: 279.8 kB / 0.7898 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.7556, allocations: 14.41 kB / 0.7898 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.7556, allocations: 13.81 kB / 0.7898 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004437/0.756, allocations: 230.7 kB / 0.79 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.7561, allocations: 6.75 kB / 0.79 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.7561, allocations: 6.281 kB / 0.79 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.7561, allocations: 2.625 kB / 0.79 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005878/0.7567, allocations: 193.5 kB / 0.7902 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008892/0.7576, allocations: 0.9372 MB / 0.7911 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006861/0.7583, allocations: 244.7 kB / 0.7914 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/0.7586, allocations: 107.5 kB / 0.7915 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.7586, allocations: 5.109 kB / 0.7915 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.7586, allocations: 36.05 kB / 0.7915 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.472e-06/0.7587, allocations: 1.5 kB / 0.7915 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.001018/0.7597, allocations: 339 kB / 0.7918 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.7597, allocations: 79.8 kB / 0.7919 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.7599, allocations: 270.8 kB / 0.7922 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.7599, allocations: 25.7 kB / 0.7922 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.872e-05/0.76, allocations: 161.1 kB / 0.7923 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.7601, allocations: 58.61 kB / 0.7924 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/0.7601, allocations: 41.38 kB / 0.7924 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.784e-05/0.7602, allocations: 334.2 kB / 0.7928 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000286/0.7605, allocations: 92.91 kB / 0.7928 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/0.7608, allocations: 139.4 kB / 0.793 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005546/0.7614, allocations: 243.1 kB / 0.7932 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.7614, allocations: 0 / 0.7932 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006967/0.7621, allocations: 304.8 kB / 0.7935 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.7621, allocations: 7.5 kB / 0.7935 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.7621, allocations: 4.156 kB / 0.7935 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.7621, allocations: 4.469 kB / 0.7935 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.7624, allocations: 60.95 kB / 0.7936 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.7624, allocations: 0 / 0.7936 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.7626, allocations: 38.03 kB / 0.7936 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.7627, allocations: 12.97 kB / 0.7936 GB, free: 43.47 MB / 0.6544 GB 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 9.132e-05/0.7627, allocations: 137.6 kB / 0.7938 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.7629, allocations: 29.38 kB / 0.7938 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006787/0.7635, allocations: 283.7 kB / 0.7941 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.7636, allocations: 0 / 0.7941 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.7636, allocations: 5.062 kB / 0.7941 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.7636, allocations: 3.234 kB / 0.7941 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.7639, allocations: 303.1 kB / 0.7944 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.7639, allocations: 1.812 kB / 0.7944 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/0.7641, allocations: 57.39 kB / 0.7944 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.7641, allocations: 3.406 kB / 0.7944 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.7642, allocations: 4 kB / 0.7944 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.7642, allocations: 0 / 0.7944 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.7642, allocations: 3.438 kB / 0.7944 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006859/0.7649, allocations: 444 kB / 0.7948 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-05/0.7649, allocations: 107 kB / 0.7949 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.417e-05/0.765, allocations: 3.562 kB / 0.7949 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.7652, allocations: 26.09 kB / 0.795 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.285e-05/0.7653, allocations: 18.53 kB / 0.795 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.7653, allocations: 6.625 kB / 0.795 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001377/0.7654, allocations: 194.1 kB / 0.7952 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6.61e-07/0.7655, allocations: 0 / 0.7952 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003485/0.7658, allocations: 59.56 kB / 0.7952 GB, free: 42.66 MB / 0.6544 GB 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.0001775/0.766, allocations: 119.4 kB / 0.7954 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006281/0.7666, allocations: 225.4 kB / 0.7956 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.7666, allocations: 3.438 kB / 0.7956 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002943/0.7669, allocations: 120.6 kB / 0.7957 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006334/0.7676, allocations: 79.78 kB / 0.7958 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006631/0.7683, allocations: 440.6 kB / 0.7962 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/0.7685, allocations: 0.7534 MB / 0.7969 GB, free: 41.62 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001111/0.7686, allocations: 30 kB / 0.7969 GB, free: 41.62 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.385e-05/0.7686, allocations: 24.81 kB / 0.797 GB, free: 41.61 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.7686, allocations: 0 / 0.797 GB, free: 41.61 MB / 0.6544 GB Notification: Performance of Templates: time 0.008356/0.777, allocations: 3.942 MB / 0.8008 GB, free: 41.47 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)