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.00139/0.00139, allocations: 100.9 kB / 16.27 MB, free: 6.418 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.001147/0.001147, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.381/1.381, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.765/1.765, allocations: 292.3 MB / 0.5495 GB, free: 17.48 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.001444/0.001444, allocations: 68.45 kB / 0.6722 GB, free: 6.477 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2661, allocations: 114.6 MB / 0.784 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002566/0.2687, allocations: 0.8376 MB / 0.7849 GB, free: 2.953 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00014/0.2689, allocations: 47.78 kB / 0.7849 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.627e-05/0.2689, allocations: 4 kB / 0.7849 GB, free: 2.902 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.151e-05/0.269, allocations: 11.86 kB / 0.7849 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.163e-05/0.2691, allocations: 11.81 kB / 0.7849 GB, free: 2.879 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 5.61e-05/0.2691, allocations: 19.98 kB / 0.7849 GB, free: 2.859 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.2693, allocations: 63.78 kB / 0.785 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001931/0.2695, allocations: 49.38 kB / 0.7851 GB, free: 2.746 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.859e-05/0.2695, allocations: 27.86 kB / 0.7851 GB, free: 2.719 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.993e-05/0.2696, allocations: 31.78 kB / 0.7851 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.2696, allocations: 11.94 kB / 0.7851 GB, free: 2.676 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.25e-05/0.2697, allocations: 8 kB / 0.7851 GB, free: 2.668 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.408e-05/0.2697, allocations: 11.94 kB / 0.7851 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.444e-05/0.2698, allocations: 35.8 kB / 0.7852 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.2699, allocations: 83.91 kB / 0.7853 GB, free: 2.539 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2699, allocations: 4 kB / 0.7853 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2699, allocations: 0 / 0.7853 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.27, allocations: 0 / 0.7853 GB, free: 2.535 MB / 0.6544 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.0005493/0.2705, allocations: 387.1 kB / 0.7856 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.2706, allocations: 8.031 kB / 0.7856 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.2706, allocations: 12.75 kB / 0.7856 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.2709, allocations: 196.1 kB / 0.7858 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.2709, allocations: 12.38 kB / 0.7858 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.2709, allocations: 8.375 kB / 0.7859 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.2711, allocations: 91.89 kB / 0.7859 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.2711, allocations: 192 / 0.7859 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.2712, allocations: 11.88 kB / 0.786 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2712, allocations: 0 / 0.786 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.722e-05/0.2713, allocations: 47.91 kB / 0.786 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006204/0.2719, allocations: 448.6 kB / 0.7864 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.289e-05/0.272, allocations: 37.25 kB / 0.7865 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.291e-05/0.272, allocations: 17.78 kB / 0.7865 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.565e-06/0.272, allocations: 0 / 0.7865 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.2721, allocations: 38.55 kB / 0.7865 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.2721, allocations: 0 / 0.7865 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002215/0.2723, allocations: 61.48 kB / 0.7866 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/0.2724, allocations: 77.11 kB / 0.7866 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.2726, allocations: 169.5 kB / 0.7868 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.2726, allocations: 25.7 kB / 0.7868 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.06e-05/0.2727, allocations: 116.1 kB / 0.7869 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.219e-05/0.2727, allocations: 7.891 kB / 0.787 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/0.2727, allocations: 17.72 kB / 0.787 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.2729, allocations: 322.8 kB / 0.7873 GB, free: 224 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.017e-05/0.2729, allocations: 11.94 kB / 0.7873 GB, free: 212 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.236e-05/0.2729, allocations: 13.72 kB / 0.7873 GB, free: 192 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.563e-05/0.273, allocations: 29.72 kB / 0.7873 GB, free: 156 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.273, allocations: 4 kB / 0.7873 GB, free: 152 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.591e-05/0.2731, allocations: 61.53 kB / 0.7874 GB, free: 84 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.2731, allocations: 8 kB / 0.7874 GB, free: 76 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.2731, allocations: 3.938 kB / 0.7874 GB, free: 72 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.2732, allocations: 0 / 0.7874 GB, free: 72 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.678e-05/0.2732, allocations: 4 kB / 0.7874 GB, free: 68 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.2733, allocations: 4 kB / 0.7874 GB, free: 64 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.043e-05/0.2733, allocations: 0 / 0.7874 GB, free: 64 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.2733, allocations: 4.062 kB / 0.7874 GB, free: 60 kB / 0.6544 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 0.4331/0.7064, allocations: 113.5 kB / 0.7875 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.659e-05/0.7065, allocations: 10.38 kB / 0.7875 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.158e-05/0.7066, allocations: 19.61 kB / 0.7876 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.7066, allocations: 0 / 0.7876 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.7066, allocations: 1.188 kB / 0.7876 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.7066, allocations: 2.141 kB / 0.7876 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000518/0.7072, allocations: 484.8 kB / 0.788 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.7072, allocations: 1.5 kB / 0.788 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.208e-05/0.7072, allocations: 7.453 kB / 0.788 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.7072, allocations: 1.984 kB / 0.788 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.7073, allocations: 5.031 kB / 0.788 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.7073, allocations: 2.25 kB / 0.788 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.7073, allocations: 0 / 0.788 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.981e-05/0.7074, allocations: 84.05 kB / 0.7881 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/0.7074, allocations: 93.59 kB / 0.7882 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.7075, allocations: 2.656 kB / 0.7882 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.78e-05/0.7075, allocations: 1.219 kB / 0.7882 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.807e-05/0.7075, allocations: 7 kB / 0.7882 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.7075, allocations: 2.812 kB / 0.7882 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.344e-05/0.7076, allocations: 125.6 kB / 0.7883 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7076, allocations: 0 / 0.7883 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002589/0.7079, allocations: 11.16 kB / 0.7883 GB, free: 47.5 MB / 0.6544 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.0001257/0.708, allocations: 98.03 kB / 0.7884 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001173/0.7081, allocations: 28 kB / 0.7885 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.7081, allocations: 3.375 kB / 0.7885 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.329e-05/0.7082, allocations: 10.02 kB / 0.7885 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.7084, allocations: 11.66 kB / 0.7885 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003274/0.7087, allocations: 195.8 kB / 0.7887 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.7088, allocations: 0.6957 MB / 0.7894 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/0.7089, allocations: 13 kB / 0.7894 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of SimCode: time 2.7e-07/0.7089, allocations: 0 / 0.7894 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of Templates: time 0.002319/0.7112, allocations: 0.9238 MB / 0.7903 GB, free: 46.55 MB / 0.6544 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)