Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.753/1.753, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 173.3 kB / 327.3 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.891/1.891, allocations: 205.4 MB / 0.5783 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009882/0.0009878, allocations: 94.3 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005432/0.0005433, allocations: 9.5 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2187, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.000872/0.2196, allocations: 0.554 MB / 0.9014 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 9.036e-05/0.2197, allocations: 35.8 kB / 0.9014 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.919e-05/0.2198, allocations: 4 kB / 0.9014 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.173e-05/0.2198, allocations: 11.86 kB / 0.9014 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.927e-05/0.2199, allocations: 11.92 kB / 0.9014 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.797e-05/0.2199, allocations: 15.98 kB / 0.9014 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.578e-05/0.22, allocations: 59.84 kB / 0.9015 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.2201, allocations: 29.56 kB / 0.9015 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.679e-05/0.2202, allocations: 19.88 kB / 0.9016 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.188e-05/0.2202, allocations: 23.8 kB / 0.9016 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.2203, allocations: 4 kB / 0.9016 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.687e-06/0.2203, allocations: 0 / 0.9016 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.275e-05/0.2203, allocations: 11.92 kB / 0.9016 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.953e-05/0.2203, allocations: 37.64 kB / 0.9016 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.914e-05/0.2204, allocations: 59.81 kB / 0.9017 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.2204, allocations: 0 / 0.9017 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2204, allocations: 0 / 0.9017 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.2204, allocations: 4 kB / 0.9017 GB, free: 63.02 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003342/0.2208, allocations: 379.3 kB / 0.902 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.2208, allocations: 8.031 kB / 0.9021 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.2208, allocations: 19.81 kB / 0.9021 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.221, allocations: 204.3 kB / 0.9023 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.221, allocations: 4 kB / 0.9023 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.221, allocations: 8 kB / 0.9023 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.2212, allocations: 101.9 kB / 0.9024 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.2212, allocations: 0 / 0.9024 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.2212, allocations: 4 kB / 0.9024 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2212, allocations: 0 / 0.9024 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.717e-05/0.2213, allocations: 39.92 kB / 0.9024 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004311/0.2217, allocations: 452.6 kB / 0.9029 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.246e-05/0.2218, allocations: 41.25 kB / 0.9029 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.579e-05/0.2218, allocations: 13.72 kB / 0.9029 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.2218, allocations: 4.062 kB / 0.9029 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.2219, allocations: 38.55 kB / 0.9029 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.2219, allocations: 4 kB / 0.9029 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001511/0.222, allocations: 57.45 kB / 0.903 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/0.2221, allocations: 77.11 kB / 0.9031 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.2222, allocations: 170.2 kB / 0.9032 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.165e-06/0.2222, allocations: 29.7 kB / 0.9033 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.988e-05/0.2222, allocations: 100 kB / 0.9034 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.556e-06/0.2223, allocations: 11.89 kB / 0.9034 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.2223, allocations: 4.25 kB / 0.9034 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.581e-05/0.2223, allocations: 314.8 kB / 0.9037 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.602e-05/0.2223, allocations: 7.984 kB / 0.9037 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.941e-05/0.2224, allocations: 17.72 kB / 0.9037 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.384e-05/0.2224, allocations: 15.94 kB / 0.9037 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2224, allocations: 0 / 0.9037 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.388e-05/0.2225, allocations: 65.55 kB / 0.9038 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.2225, allocations: 8.062 kB / 0.9038 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2225, allocations: 0 / 0.9038 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.2225, allocations: 0 / 0.9038 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.624e-05/0.2226, allocations: 11.94 kB / 0.9038 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.2226, allocations: 0 / 0.9038 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.118e-05/0.2226, allocations: 7.844 kB / 0.9038 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.2227, allocations: 7.938 kB / 0.9038 GB, free: 60.59 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.937e-05/0.2227, allocations: 113.8 kB / 0.9039 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.2228, allocations: 15.8 kB / 0.9039 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.212e-05/0.2228, allocations: 20.55 kB / 0.904 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2228, allocations: 0 / 0.904 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2228, allocations: 0 / 0.904 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.2228, allocations: 0 / 0.904 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.2231, allocations: 478.8 kB / 0.9044 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2231, allocations: 0 / 0.9044 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.288e-05/0.2231, allocations: 8 kB / 0.9044 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2231, allocations: 4.062 kB / 0.9044 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.2232, allocations: 0 / 0.9044 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.2232, allocations: 4 kB / 0.9044 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.2232, allocations: 0 / 0.9044 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.31e-05/0.2232, allocations: 81.78 kB / 0.9045 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.255e-05/0.2233, allocations: 92.92 kB / 0.9046 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.2233, allocations: 0 / 0.9046 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.448e-05/0.2233, allocations: 4.031 kB / 0.9046 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.649e-05/0.2233, allocations: 12.08 kB / 0.9046 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-06/0.2234, allocations: 3.984 kB / 0.9046 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.309e-05/0.2234, allocations: 128.9 kB / 0.9047 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2234, allocations: 0 / 0.9047 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001801/0.2236, allocations: 8 kB / 0.9047 GB, free: 59.53 MB / 0.6042 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001012/0.2237, allocations: 95.25 kB / 0.9048 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.457e-05/0.2238, allocations: 23.94 kB / 0.9049 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2238, allocations: 0 / 0.9049 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-05/0.2238, allocations: 11.98 kB / 0.9049 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.224, allocations: 8.641 kB / 0.9049 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003019/0.2243, allocations: 219.9 kB / 0.9051 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.2244, allocations: 0.6965 MB / 0.9058 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.544e-05/0.2244, allocations: 11.44 kB / 0.9058 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2244, allocations: 3.938 kB / 0.9058 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of Templates: time 0.001814/0.2263, allocations: 0.9136 MB / 0.9067 GB, free: 57.48 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1)