Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 109.4 kB / 15.69 MB, free: 128 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.001164/0.001164, allocations: 186.2 kB / 16.62 MB, free: 6.613 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.515/1.515, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.781/1.781, allocations: 292.3 MB / 0.549 GB, free: 12.7 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.001485/0.001486, allocations: 72.53 kB / 0.6718 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2851, allocations: 114.5 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002496/0.2876, allocations: 0.841 MB / 0.7845 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001787/0.2878, allocations: 39.8 kB / 0.7845 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.25e-05/0.2879, allocations: 11.94 kB / 0.7845 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.906e-05/0.288, allocations: 11.86 kB / 0.7845 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.2882, allocations: 15.8 kB / 0.7845 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.737e-05/0.2882, allocations: 23.97 kB / 0.7846 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000124/0.2884, allocations: 63.84 kB / 0.7846 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.2886, allocations: 41.39 kB / 0.7847 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.22e-05/0.2886, allocations: 31.8 kB / 0.7847 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.443e-05/0.2887, allocations: 31.78 kB / 0.7847 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.2887, allocations: 8 kB / 0.7847 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.26e-05/0.2888, allocations: 8 kB / 0.7847 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.42e-05/0.2888, allocations: 11.94 kB / 0.7847 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.894e-05/0.2888, allocations: 39.73 kB / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.289, allocations: 87.84 kB / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.289, allocations: 0 / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.934e-06/0.289, allocations: 0 / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.289, allocations: 0 / 0.7849 GB, free: 11.96 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.0004776/0.2895, allocations: 395.1 kB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.2896, allocations: 8.031 kB / 0.7852 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.314e-05/0.2896, allocations: 42.75 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.2897, allocations: 12.75 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.2899, allocations: 199.4 kB / 0.7855 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.2899, allocations: 4.375 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.29, allocations: 8.375 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.2901, allocations: 102.5 kB / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2902, allocations: 3.938 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.2902, allocations: 3.984 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.2902, allocations: 0 / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.39e-05/0.2903, allocations: 39.98 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005897/0.2909, allocations: 448.5 kB / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.778e-05/0.2909, allocations: 37.22 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.178e-05/0.291, allocations: 21.81 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.291, allocations: 3.984 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.291, allocations: 34.56 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 3.165e-06/0.291, allocations: 4 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001991/0.2912, allocations: 57.48 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.2913, allocations: 81.09 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.2915, allocations: 173.6 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.2915, allocations: 29.7 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.314e-05/0.2916, allocations: 104 kB / 0.7866 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.868e-06/0.2916, allocations: 11.84 kB / 0.7866 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.2916, allocations: 13.97 kB / 0.7866 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.2917, allocations: 326.8 kB / 0.7869 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.057e-05/0.2918, allocations: 8 kB / 0.7869 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.899e-05/0.2918, allocations: 21.7 kB / 0.787 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.218e-05/0.2918, allocations: 29.59 kB / 0.787 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2919, allocations: 0 / 0.787 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.623e-05/0.2919, allocations: 61.61 kB / 0.787 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.292, allocations: 15.88 kB / 0.7871 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.292, allocations: 0 / 0.7871 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.292, allocations: 3.984 kB / 0.7871 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.557e-05/0.2921, allocations: 4 kB / 0.7871 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.2921, allocations: 0 / 0.7871 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.188e-05/0.2921, allocations: 7.906 kB / 0.7871 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.2921, allocations: 0 / 0.7871 GB, free: 9.418 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.032e-05/0.2922, allocations: 118.4 kB / 0.7872 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/0.2923, allocations: 15.91 kB / 0.7872 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.2923, allocations: 16.55 kB / 0.7872 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.2923, allocations: 4 kB / 0.7872 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2923, allocations: 0 / 0.7872 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2923, allocations: 0 / 0.7872 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003894/0.2927, allocations: 478.8 kB / 0.7877 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2927, allocations: 0 / 0.7877 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.41e-05/0.2928, allocations: 8.047 kB / 0.7877 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2928, allocations: 4 kB / 0.7877 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.2928, allocations: 0 / 0.7877 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2928, allocations: 0 / 0.7877 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2928, allocations: 0 / 0.7877 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.995e-05/0.2929, allocations: 85.78 kB / 0.7878 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.037e-05/0.2929, allocations: 92.91 kB / 0.7879 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.293, allocations: 4.031 kB / 0.7879 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.316e-05/0.293, allocations: 0 / 0.7879 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.154e-05/0.293, allocations: 0 / 0.7879 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.293, allocations: 4 kB / 0.7879 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.422e-05/0.2931, allocations: 129.8 kB / 0.788 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2931, allocations: 0 / 0.788 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001844/0.2933, allocations: 8 kB / 0.788 GB, free: 8.359 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.00045/0.2938, allocations: 0.6248 MB / 0.7886 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.15e-05/0.2939, allocations: 16 kB / 0.7886 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2939, allocations: 0 / 0.7886 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.634e-05/0.2939, allocations: 15.88 kB / 0.7886 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.2941, allocations: 12.22 kB / 0.7887 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.2953, allocations: 1.386 MB / 0.79 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.2955, allocations: 0.6963 MB / 0.7907 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.71e-05/0.2956, allocations: 12.41 kB / 0.7907 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.2956, allocations: 27.44 kB / 0.7907 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2956, allocations: 0 / 0.7907 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01739/0.313, allocations: 1.67 MB / 0.7924 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.168/7.481, allocations: 7.938 kB / 0.7924 GB, free: 3.848 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1)