Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|adp.bypass|m_flow.y|adp.hADP|hEvaIn.y|adp.XADP|XEvaIn.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|adp.bypass|m_flow.y|adp.hADP|hEvaIn.y|adp.XADP|XEvaIn.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009441/0.0009443, allocations: 91.92 kB / 16.02 MB, free: 80 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.001209/0.001209, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.429/1.429, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.511/2.511, allocations: 390.9 MB / 0.667 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003803, allocations: 12 kB / 0.8166 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8553/0.8557, allocations: 142.4 MB / 0.9557 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint): time 0.003108/0.8589, allocations: 2.51 MB / 0.9582 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1882/1.047, allocations: 150.7 MB / 1.105 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004459/1.048, allocations: 4 kB / 1.105 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001637/1.049, allocations: 0.494 MB / 1.106 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001968/1.051, allocations: 0.599 MB / 1.106 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001877/1.053, allocations: 0.568 MB / 1.107 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001626/1.055, allocations: 1.223 MB / 1.108 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003231/1.055, allocations: 178.4 kB / 1.108 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007261/1.056, allocations: 414.2 kB / 1.109 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001078/1.057, allocations: 0.568 MB / 1.109 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002715/1.057, allocations: 56 kB / 1.109 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002578/1.06, allocations: 1.244 MB / 1.111 GB, free: 172 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004855/1.06, allocations: 342.8 kB / 1.111 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001088/1.061, allocations: 0.6349 MB / 1.112 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002796/1.064, allocations: 2.19 MB / 1.114 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/1.064, allocations: 0 / 1.114 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.256e-06/1.064, allocations: 0 / 1.114 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.965e-05/1.064, allocations: 0 / 1.114 GB, free: 12.99 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.006077/1.07, allocations: 1.809 MB / 1.115 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.342e-05/1.07, allocations: 12.03 kB / 1.115 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01796/1.088, allocations: 2.296 MB / 1.118 GB, free: 8.809 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003207/1.092, allocations: 1.381 MB / 1.119 GB, free: 7.379 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.675e-05/1.092, allocations: 24.23 kB / 1.119 GB, free: 7.355 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/1.092, allocations: 16 kB / 1.119 GB, free: 7.34 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005883/1.098, allocations: 1.259 MB / 1.12 GB, free: 6.066 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/1.098, allocations: 0 / 1.12 GB, free: 6.066 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.415e-05/1.098, allocations: 8 kB / 1.12 GB, free: 6.059 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/1.098, allocations: 3.938 kB / 1.12 GB, free: 6.055 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01228/1.11, allocations: 2.091 MB / 1.122 GB, free: 3.961 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01321/1.124, allocations: 3.351 MB / 1.126 GB, free: 0.543 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01495/1.139, allocations: 2.772 MB / 1.128 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005515/1.144, allocations: 1.063 MB / 1.129 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006766/1.145, allocations: 449.4 kB / 1.13 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00579/1.151, allocations: 1.233 MB / 1.131 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=21): time 3.457e-06/1.151, allocations: 0 / 1.131 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of matching and sorting (n=21): time 0.03631/1.187, allocations: 4.812 MB / 1.136 GB, free: 6.039 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/1.187, allocations: 140.5 kB / 1.136 GB, free: 5.871 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005193/1.192, allocations: 2.413 MB / 1.138 GB, free: 3.449 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.000218/1.193, allocations: 37.7 kB / 1.138 GB, free: 3.406 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006682/1.193, allocations: 0.5388 MB / 1.139 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002085/1.193, allocations: 67.08 kB / 1.139 GB, free: 2.797 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/1.194, allocations: 49.69 kB / 1.139 GB, free: 2.742 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001289/1.194, allocations: 326 kB / 1.139 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005936/1.2, allocations: 1.21 MB / 1.14 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005986/1.206, allocations: 1.254 MB / 1.142 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01075/1.217, allocations: 2.123 MB / 1.144 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/1.217, allocations: 0 / 1.144 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.02923/1.246, allocations: 4.168 MB / 1.148 GB, free: 9.598 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001425/1.246, allocations: 131.3 kB / 1.148 GB, free: 9.453 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/1.246, allocations: 8.031 kB / 1.148 GB, free: 9.445 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004732/1.251, allocations: 0.9677 MB / 1.149 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002806/1.254, allocations: 439.4 kB / 1.149 GB, free: 8.031 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01092/1.265, allocations: 8.09 MB / 1.157 GB, free: 15.38 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003969/1.269, allocations: 479.1 kB / 1.158 GB, free: 14.91 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002028/1.269, allocations: 39.95 kB / 1.158 GB, free: 14.87 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/1.269, allocations: 5.875 kB / 1.158 GB, free: 14.87 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0285/1.297, allocations: 3.853 MB / 1.161 GB, free: 10.99 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.297, allocations: 7.938 kB / 1.161 GB, free: 10.98 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003076/1.3, allocations: 0.7963 MB / 1.162 GB, free: 10.17 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002841/1.303, allocations: 439.3 kB / 1.163 GB, free: 9.738 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007198/1.311, allocations: 6.838 MB / 1.169 GB, free: 2.34 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003967/1.315, allocations: 471.2 kB / 1.17 GB, free: 1.879 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001993/1.315, allocations: 39.95 kB / 1.17 GB, free: 1.84 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (deaBan.y,$PRE.deaBan.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,adp.stage,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,1), (1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001337/1.316, allocations: 0.6663 MB / 1.17 GB, free: 1.156 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005745/1.317, allocations: 138.2 kB / 1.171 GB, free: 1.02 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02775/1.344, allocations: 3.521 MB / 1.174 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/1.345, allocations: 4 kB / 1.174 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.345, allocations: 0 / 1.174 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/1.345, allocations: 3.984 kB / 1.174 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002478/1.347, allocations: 1.107 MB / 1.175 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/1.347, allocations: 4 kB / 1.175 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002713/1.35, allocations: 391.5 kB / 1.175 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007475/1.351, allocations: 168.6 kB / 1.176 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/1.351, allocations: 23.95 kB / 1.176 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/1.352, allocations: 0.6537 MB / 1.176 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/1.352, allocations: 0 / 1.176 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02747/1.379, allocations: 3.476 MB / 1.18 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/1.381, allocations: 435.1 kB / 1.18 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005308/1.381, allocations: 8 kB / 1.18 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003525/1.385, allocations: 415.5 kB / 1.181 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/1.385, allocations: 27.84 kB / 1.181 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/1.385, allocations: 35.89 kB / 1.181 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003685/1.389, allocations: 1.723 MB / 1.182 GB, free: 4.895 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/1.389, allocations: 7.938 kB / 1.182 GB, free: 4.887 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002402/1.391, allocations: 0.5467 MB / 1.183 GB, free: 4.34 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,adp.stage,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,deaBan.y) * Number of discrete states: 7 (deaBan.y,speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007583/1.392, allocations: 236.4 kB / 1.183 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.02004/1.412, allocations: 5.131 MB / 1.188 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/1.412, allocations: 0 / 1.188 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.005623/1.418, allocations: 1.194 MB / 1.189 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002467/1.42, allocations: 309.3 kB / 1.189 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02118/1.441, allocations: 4.83 MB / 1.194 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001277/1.443, allocations: 1.379 MB / 1.196 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007785/1.443, allocations: 95.28 kB / 1.196 GB, free: 6.961 MB / 0.9512 GB Notification: Performance of SimCode: time 9.02e-07/1.443, allocations: 4 kB / 1.196 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of Templates: time 0.06227/1.506, allocations: 46.21 MB / 1.241 GB, free: 8.805 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe 2>&1)