Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001422, allocations: 105.4 kB / 15.7 MB, free: 24 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.001603/0.001603, allocations: 188.1 kB / 16.64 MB, free: 6.594 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.599/1.599, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.851/1.851, allocations: 292.3 MB / 0.549 GB, free: 12.79 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.001554/0.001554, allocations: 70.86 kB / 0.6723 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3205, allocations: 114.5 MB / 0.7841 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002681/0.3232, allocations: 0.8565 MB / 0.785 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001705/0.3234, allocations: 39.78 kB / 0.785 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.777e-05/0.3235, allocations: 0 / 0.785 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.812e-05/0.3236, allocations: 15.8 kB / 0.785 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.3237, allocations: 11.88 kB / 0.785 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.369e-05/0.3238, allocations: 27.91 kB / 0.7851 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.324, allocations: 63.84 kB / 0.7851 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.3242, allocations: 41.38 kB / 0.7852 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.877e-05/0.3242, allocations: 31.8 kB / 0.7852 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.414e-05/0.3243, allocations: 39.78 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.3244, allocations: 4 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.02e-05/0.3244, allocations: 8 kB / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.719e-05/0.3244, allocations: 15.94 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.875e-05/0.3245, allocations: 31.8 kB / 0.7853 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.3247, allocations: 87.56 kB / 0.7854 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.3247, allocations: 0 / 0.7854 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.816e-06/0.3247, allocations: 3.938 kB / 0.7854 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.3247, allocations: 0 / 0.7854 GB, free: 11.51 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005591/0.3253, allocations: 391.1 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3253, allocations: 12.03 kB / 0.7858 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.556e-05/0.3254, allocations: 16.75 kB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.3256, allocations: 190.9 kB / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.3256, allocations: 8.359 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.3257, allocations: 8.375 kB / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.3258, allocations: 91.89 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3258, allocations: 4.172 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.3259, allocations: 11.94 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3259, allocations: 0 / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.95e-05/0.326, allocations: 31.98 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006357/0.3266, allocations: 452.5 kB / 0.7865 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.699e-05/0.3267, allocations: 37.28 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.353e-05/0.3267, allocations: 21.75 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.3268, allocations: 8 kB / 0.7866 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.3268, allocations: 30.56 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.3268, allocations: 0 / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002139/0.327, allocations: 61.47 kB / 0.7867 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.3271, allocations: 77.11 kB / 0.7868 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.3273, allocations: 168.8 kB / 0.7869 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.3273, allocations: 29.7 kB / 0.7869 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.367e-05/0.3274, allocations: 115.8 kB / 0.7871 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.152e-05/0.3274, allocations: 7.906 kB / 0.7871 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.3274, allocations: 21.7 kB / 0.7871 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.3276, allocations: 314.8 kB / 0.7874 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.352e-05/0.3276, allocations: 7.984 kB / 0.7874 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.753e-05/0.3276, allocations: 25.66 kB / 0.7874 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.487e-05/0.3277, allocations: 33.66 kB / 0.7874 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3277, allocations: 0 / 0.7874 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.763e-05/0.3278, allocations: 61.59 kB / 0.7875 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.3278, allocations: 4 kB / 0.7875 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.3278, allocations: 7.875 kB / 0.7875 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.3279, allocations: 4 kB / 0.7875 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.585e-05/0.3279, allocations: 4 kB / 0.7875 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.3279, allocations: 0 / 0.7875 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.76e-05/0.328, allocations: 11.97 kB / 0.7875 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.328, allocations: 0 / 0.7875 GB, free: 9.023 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.386e-05/0.3281, allocations: 117.8 kB / 0.7876 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.824e-05/0.3282, allocations: 7.906 kB / 0.7877 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.55e-05/0.3282, allocations: 20.5 kB / 0.7877 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3282, allocations: 0 / 0.7877 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3282, allocations: 0 / 0.7877 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.3282, allocations: 4 kB / 0.7877 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004501/0.3287, allocations: 482.7 kB / 0.7881 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3287, allocations: 0 / 0.7881 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.486e-05/0.3287, allocations: 4 kB / 0.7881 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.3287, allocations: 0 / 0.7881 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.3287, allocations: 4 kB / 0.7881 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.3288, allocations: 0 / 0.7881 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3288, allocations: 0 / 0.7881 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.3289, allocations: 89.83 kB / 0.7882 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-05/0.3289, allocations: 88.92 kB / 0.7883 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.329, allocations: 7.984 kB / 0.7883 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.458e-05/0.329, allocations: 0 / 0.7883 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.841e-05/0.329, allocations: 4 kB / 0.7883 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-06/0.329, allocations: 0 / 0.7883 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001145/0.3291, allocations: 130 kB / 0.7885 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3291, allocations: 4.031 kB / 0.7885 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002057/0.3294, allocations: 8 kB / 0.7885 GB, free: 7.961 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 (2): * Single equations (assignments): 2 * 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.0001437/0.3295, allocations: 99.25 kB / 0.7886 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001063/0.3296, allocations: 23.92 kB / 0.7886 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3296, allocations: 0 / 0.7886 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.667e-05/0.3297, allocations: 8 kB / 0.7886 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.3298, allocations: 10.59 kB / 0.7886 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004033/0.3302, allocations: 182.1 kB / 0.7888 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.3305, allocations: 0.6963 MB / 0.7895 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.835e-05/0.3306, allocations: 8.422 kB / 0.7895 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.53e-05/0.3306, allocations: 19.38 kB / 0.7895 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of SimCode: time 7.01e-07/0.3306, allocations: 0 / 0.7895 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of Templates: time 0.003048/0.3337, allocations: 493.6 kB / 0.79 GB, free: 6.375 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1)