Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, 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.001816/0.001816, allocations: 195.6 kB / 16.64 MB, free: 6.453 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.648/1.648, allocations: 205.1 MB / 222.5 MB, free: 4.578 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.983/1.983, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001548/0.001548, allocations: 75.27 kB / 0.6723 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3429, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002623/0.3456, allocations: 0.8564 MB / 0.785 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001342/0.3457, allocations: 47.72 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.187e-05/0.3458, allocations: 8 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.567e-05/0.3459, allocations: 11.86 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.097e-05/0.346, allocations: 7.875 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.121e-05/0.346, allocations: 19.98 kB / 0.7851 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.3462, allocations: 67.77 kB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.3464, allocations: 49.38 kB / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.92e-05/0.3465, allocations: 27.86 kB / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.488e-05/0.3466, allocations: 31.78 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.898e-05/0.3466, allocations: 8 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.502e-05/0.3466, allocations: 8 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.397e-05/0.3467, allocations: 11.94 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.924e-05/0.3467, allocations: 35.8 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.3469, allocations: 91.5 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3469, allocations: 4 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.926e-06/0.3469, allocations: 0 / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.3469, allocations: 0 / 0.7854 GB, free: 11.46 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.0005541/0.3475, allocations: 387.1 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.3475, allocations: 8.031 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.3476, allocations: 12.75 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.3478, allocations: 196.2 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.3478, allocations: 4.375 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.3479, allocations: 12.38 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.348, allocations: 91.94 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.3481, allocations: 192 / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.3481, allocations: 11.88 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.3481, allocations: 4 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.346e-05/0.3482, allocations: 39.92 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005953/0.3488, allocations: 448.5 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.239e-05/0.3489, allocations: 41.28 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.993e-05/0.3489, allocations: 13.84 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.238e-06/0.3489, allocations: 0 / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.349, allocations: 34.56 kB / 0.7866 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.349, allocations: 4 kB / 0.7866 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002062/0.3492, allocations: 61.47 kB / 0.7867 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.3493, allocations: 81.11 kB / 0.7868 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.3494, allocations: 165.7 kB / 0.7869 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.3495, allocations: 29.64 kB / 0.7869 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.287e-05/0.3495, allocations: 111.9 kB / 0.7871 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.378e-06/0.3496, allocations: 4.156 kB / 0.7871 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.3496, allocations: 25.7 kB / 0.7871 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.3497, allocations: 318.8 kB / 0.7874 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.482e-05/0.3498, allocations: 15.92 kB / 0.7874 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.418e-05/0.3498, allocations: 13.72 kB / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.255e-05/0.3498, allocations: 29.72 kB / 0.7874 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3498, allocations: 4 kB / 0.7874 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.264e-05/0.3499, allocations: 61.53 kB / 0.7875 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.35, allocations: 8 kB / 0.7875 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.35, allocations: 3.938 kB / 0.7875 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.35, allocations: 0 / 0.7875 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-05/0.3501, allocations: 8 kB / 0.7875 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3501, allocations: 0 / 0.7875 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.452e-05/0.3501, allocations: 3.906 kB / 0.7875 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.3502, allocations: 4 kB / 0.7875 GB, free: 8.984 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.471e-05/0.3503, allocations: 118.6 kB / 0.7876 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.3503, allocations: 11.89 kB / 0.7877 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.837e-05/0.3503, allocations: 16.59 kB / 0.7877 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.3504, allocations: 3.984 kB / 0.7877 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.3504, allocations: 0 / 0.7877 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3504, allocations: 3.938 kB / 0.7877 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004313/0.3508, allocations: 482.8 kB / 0.7881 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3508, allocations: 0 / 0.7881 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.609e-05/0.3509, allocations: 7.938 kB / 0.7881 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3509, allocations: 0 / 0.7881 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.507e-06/0.3509, allocations: 4 kB / 0.7881 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3509, allocations: 7.938 kB / 0.7882 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.3509, allocations: 4 kB / 0.7882 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.524e-05/0.351, allocations: 81.86 kB / 0.7882 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.23e-05/0.3511, allocations: 92.92 kB / 0.7883 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.3511, allocations: 0 / 0.7883 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.709e-05/0.3511, allocations: 3.984 kB / 0.7883 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.992e-05/0.3512, allocations: 4 kB / 0.7883 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.3512, allocations: 3.938 kB / 0.7883 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001087/0.3513, allocations: 133.8 kB / 0.7885 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3513, allocations: 0 / 0.7885 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001953/0.3515, allocations: 8 kB / 0.7885 GB, free: 7.906 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.000152/0.3516, allocations: 99.28 kB / 0.7886 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001064/0.3518, allocations: 19.98 kB / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3518, allocations: 0 / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-05/0.3518, allocations: 11.94 kB / 0.7886 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/0.352, allocations: 14.44 kB / 0.7886 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003583/0.3523, allocations: 177.7 kB / 0.7888 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.3526, allocations: 0.6963 MB / 0.7895 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.341e-05/0.3527, allocations: 8.422 kB / 0.7895 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.753e-05/0.3527, allocations: 11.44 kB / 0.7895 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.3527, allocations: 0 / 0.7895 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of Templates: time 0.003032/0.3557, allocations: 481.6 kB / 0.7899 GB, free: 6.344 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1)