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.001107/0.001107, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 192.5 kB / 16.13 MB, free: 6.699 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.631/1.631, allocations: 205.1 MB / 222 MB, free: 4.734 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.875/1.875, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001364/0.001364, allocations: 61.91 kB / 0.6708 GB, free: 26.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2915, allocations: 114.6 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002811/0.2943, allocations: 0.906 MB / 0.7836 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001607/0.2945, allocations: 43.8 kB / 0.7836 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.226e-05/0.2946, allocations: 0 / 0.7836 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.446e-05/0.2947, allocations: 7.922 kB / 0.7836 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.2948, allocations: 7.922 kB / 0.7836 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.462e-05/0.2949, allocations: 19.98 kB / 0.7836 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.295, allocations: 67.78 kB / 0.7837 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.2952, allocations: 33.39 kB / 0.7837 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.4e-05/0.2952, allocations: 27.86 kB / 0.7838 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.03e-05/0.2953, allocations: 35.73 kB / 0.7838 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.2954, allocations: 4 kB / 0.7838 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.226e-05/0.2954, allocations: 4 kB / 0.7838 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.93e-05/0.2954, allocations: 19.92 kB / 0.7838 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.638e-05/0.2955, allocations: 31.73 kB / 0.7838 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.2956, allocations: 83.91 kB / 0.7839 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.2956, allocations: 0 / 0.7839 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2956, allocations: 0 / 0.7839 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.2956, allocations: 0 / 0.7839 GB, free: 12.73 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.0005486/0.2962, allocations: 391.2 kB / 0.7843 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.2962, allocations: 8.031 kB / 0.7843 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.548e-05/0.2963, allocations: 12.75 kB / 0.7843 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.2966, allocations: 202.8 kB / 0.7845 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.2966, allocations: 8.375 kB / 0.7845 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.2966, allocations: 8.375 kB / 0.7845 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.2968, allocations: 91.89 kB / 0.7846 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.2968, allocations: 192 / 0.7846 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.2968, allocations: 15.92 kB / 0.7846 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.2969, allocations: 4 kB / 0.7846 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.475e-05/0.297, allocations: 39.92 kB / 0.7847 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006283/0.2976, allocations: 445.5 kB / 0.7851 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.641e-05/0.2977, allocations: 45.28 kB / 0.7851 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.51e-05/0.2977, allocations: 17.84 kB / 0.7852 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.2977, allocations: 3.938 kB / 0.7852 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.2978, allocations: 30.56 kB / 0.7852 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.2978, allocations: 4 kB / 0.7852 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002112/0.298, allocations: 61.7 kB / 0.7853 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.298, allocations: 85.09 kB / 0.7853 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.2982, allocations: 168.5 kB / 0.7855 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.2982, allocations: 25.7 kB / 0.7855 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.045e-05/0.2983, allocations: 111.9 kB / 0.7856 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.668e-06/0.2983, allocations: 3.906 kB / 0.7856 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.417e-05/0.2984, allocations: 17.72 kB / 0.7856 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.2985, allocations: 322.8 kB / 0.786 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.459e-05/0.2985, allocations: 15.97 kB / 0.786 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.487e-05/0.2986, allocations: 17.7 kB / 0.786 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.409e-05/0.2986, allocations: 29.72 kB / 0.786 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2986, allocations: 0 / 0.786 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.685e-05/0.2987, allocations: 61.55 kB / 0.7861 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.2987, allocations: 8 kB / 0.7861 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2988, allocations: 8 kB / 0.7861 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.2988, allocations: 3.984 kB / 0.7861 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.337e-05/0.2989, allocations: 8 kB / 0.7861 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.2989, allocations: 0 / 0.7861 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.992e-05/0.2989, allocations: 3.906 kB / 0.7861 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.2989, allocations: 4 kB / 0.7861 GB, free: 10.23 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 8.617e-05/0.299, allocations: 113.8 kB / 0.7862 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.077e-05/0.2991, allocations: 7.906 kB / 0.7862 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.2991, allocations: 20.48 kB / 0.7862 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2991, allocations: 4 kB / 0.7862 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2991, allocations: 0 / 0.7862 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2991, allocations: 0 / 0.7862 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005377/0.2997, allocations: 478.7 kB / 0.7867 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2997, allocations: 0 / 0.7867 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.86e-05/0.2997, allocations: 11.92 kB / 0.7867 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2997, allocations: 3.938 kB / 0.7867 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.2998, allocations: 8.062 kB / 0.7867 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.2998, allocations: 0 / 0.7867 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.2998, allocations: 7.938 kB / 0.7867 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.719e-05/0.2999, allocations: 73.84 kB / 0.7868 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.903e-05/0.2999, allocations: 96.91 kB / 0.7869 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.3, allocations: 0 / 0.7869 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.595e-05/0.3, allocations: 4.031 kB / 0.7869 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.439e-05/0.3, allocations: 4 kB / 0.7869 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.3, allocations: 0 / 0.7869 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001006/0.3001, allocations: 131.9 kB / 0.787 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3001, allocations: 3.938 kB / 0.787 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001786/0.3003, allocations: 8 kB / 0.787 GB, free: 9.156 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.0002133/0.3005, allocations: 95.25 kB / 0.7871 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.365e-05/0.3006, allocations: 20 kB / 0.7872 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3006, allocations: 0 / 0.7872 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.596e-05/0.3007, allocations: 11.94 kB / 0.7872 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.3008, allocations: 7.938 kB / 0.7872 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003219/0.3012, allocations: 192.5 kB / 0.7874 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.3014, allocations: 0.6965 MB / 0.788 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.618e-05/0.3015, allocations: 4.438 kB / 0.788 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.476e-05/0.3015, allocations: 11.44 kB / 0.7881 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.3015, allocations: 4 kB / 0.7881 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of Templates: time 0.00261/0.3041, allocations: 471.5 kB / 0.7885 GB, free: 7.598 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)