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.001176/0.001176, allocations: 108 kB / 15.61 MB, free: 152 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.001257/0.001258, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.603/1.603, allocations: 205.1 MB / 222.4 MB, free: 4.637 MB / 174.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.738/1.738, allocations: 292.3 MB / 0.5488 GB, free: 12.83 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.001618/0.001619, allocations: 73.91 kB / 0.6715 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3171, allocations: 114.6 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.004345/0.3215, allocations: 2.147 MB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00217/0.3237, allocations: 1.043 MB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/0.324, allocations: 3.938 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.515e-05/0.3241, allocations: 19.73 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004153/0.3245, allocations: 87.22 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005552/0.325, allocations: 187.6 kB / 0.7868 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003485/0.3254, allocations: 298.8 kB / 0.7871 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.3256, allocations: 57.02 kB / 0.7871 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.3258, allocations: 111.5 kB / 0.7872 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002388/0.326, allocations: 135.4 kB / 0.7874 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.31e-05/0.3261, allocations: 20 kB / 0.7874 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000436/0.3265, allocations: 299.6 kB / 0.7877 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.984e-05/0.3266, allocations: 47.81 kB / 0.7877 GB, free: 9 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.3268, allocations: 127.2 kB / 0.7878 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004386/0.3272, allocations: 322.9 kB / 0.7881 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.3272, allocations: 0 / 0.7881 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.166e-06/0.3272, allocations: 0 / 0.7881 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.605e-06/0.3272, allocations: 0 / 0.7881 GB, free: 8.559 MB / 0.6075 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.001227/0.3285, allocations: 0.631 MB / 0.7887 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.979e-05/0.3286, allocations: 8.031 kB / 0.7888 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002692/0.3288, allocations: 36.56 kB / 0.7888 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.3292, allocations: 279.5 kB / 0.7891 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.3292, allocations: 16.66 kB / 0.7891 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.3293, allocations: 16.12 kB / 0.7891 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005629/0.3298, allocations: 228.3 kB / 0.7893 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.3299, allocations: 3.984 kB / 0.7893 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.3299, allocations: 11.98 kB / 0.7893 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.3299, allocations: 4 kB / 0.7893 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006791/0.3306, allocations: 195.8 kB / 0.7895 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.3318, allocations: 0.9422 MB / 0.7904 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008094/0.3327, allocations: 241.1 kB / 0.7907 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003446/0.333, allocations: 109.6 kB / 0.7908 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.333, allocations: 4 kB / 0.7908 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.3331, allocations: 34.56 kB / 0.7908 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 3.667e-06/0.3331, allocations: 0 / 0.7908 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.001204/0.3343, allocations: 337.9 kB / 0.7911 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.3344, allocations: 81.11 kB / 0.7912 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.3347, allocations: 274.9 kB / 0.7915 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.3347, allocations: 29.7 kB / 0.7915 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.3349, allocations: 156.2 kB / 0.7916 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.335, allocations: 59.19 kB / 0.7917 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.844e-05/0.335, allocations: 37.7 kB / 0.7917 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3352, allocations: 338.8 kB / 0.7921 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003925/0.3356, allocations: 95.86 kB / 0.7921 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000352/0.336, allocations: 144.8 kB / 0.7923 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006723/0.3366, allocations: 237.9 kB / 0.7925 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.3366, allocations: 3.938 kB / 0.7925 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008365/0.3375, allocations: 293.1 kB / 0.7928 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.3375, allocations: 4 kB / 0.7928 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.3375, allocations: 4 kB / 0.7928 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.3376, allocations: 4 kB / 0.7928 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002865/0.3378, allocations: 55.89 kB / 0.7929 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/0.3379, allocations: 4 kB / 0.7929 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000249/0.3381, allocations: 47.83 kB / 0.7929 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.3381, allocations: 8 kB / 0.7929 GB, free: 3.336 MB / 0.6075 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 0.000126/0.3383, allocations: 133.8 kB / 0.793 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.3384, allocations: 27.66 kB / 0.7931 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008502/0.3393, allocations: 291.1 kB / 0.7934 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.3393, allocations: 4 kB / 0.7934 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.3393, allocations: 0 / 0.7934 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.3393, allocations: 0 / 0.7934 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003954/0.3397, allocations: 313.2 kB / 0.7937 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3397, allocations: 0 / 0.7937 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002577/0.34, allocations: 55.89 kB / 0.7937 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.34, allocations: 4 kB / 0.7937 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.34, allocations: 4 kB / 0.7937 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.34, allocations: 0 / 0.7937 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.34, allocations: 4 kB / 0.7937 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008812/0.3409, allocations: 438.3 kB / 0.7941 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.935e-05/0.341, allocations: 104.7 kB / 0.7942 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.341, allocations: 4 kB / 0.7942 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.3413, allocations: 35.91 kB / 0.7943 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.249e-05/0.3414, allocations: 23.91 kB / 0.7943 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.3414, allocations: 4 kB / 0.7943 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002197/0.3416, allocations: 190 kB / 0.7945 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3417, allocations: 0 / 0.7945 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003634/0.342, allocations: 52 kB / 0.7945 GB, free: 1.578 MB / 0.6075 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.0002364/0.3423, allocations: 119.5 kB / 0.7946 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008083/0.3431, allocations: 232.1 kB / 0.7949 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3431, allocations: 4.25 kB / 0.7949 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003554/0.3435, allocations: 119.8 kB / 0.795 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006577/0.3441, allocations: 85.3 kB / 0.7951 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000885/0.345, allocations: 450.7 kB / 0.7955 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.3454, allocations: 0.748 MB / 0.7962 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001452/0.3456, allocations: 30.28 kB / 0.7963 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.841e-05/0.3456, allocations: 23.44 kB / 0.7963 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.3456, allocations: 0 / 0.7963 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of Templates: time 0.00825/0.3539, allocations: 3.955 MB / 0.8001 GB, free: 11.85 MB / 0.6231 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)