Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.409/1.409, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 185.6 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.205/2.205, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001216/0.001216, allocations: 95.78 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004529/0.000453, allocations: 10.62 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2721, allocations: 106.3 MB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001224/0.2734, allocations: 0.5563 MB / 0.9007 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001428/0.2736, allocations: 53.03 kB / 0.9007 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.396e-05/0.2737, allocations: 0 / 0.9007 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.378e-05/0.2737, allocations: 3.938 kB / 0.9007 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.2738, allocations: 11.98 kB / 0.9008 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.803e-05/0.2739, allocations: 15.98 kB / 0.9008 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.074e-05/0.274, allocations: 39.89 kB / 0.9008 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.2742, allocations: 33.56 kB / 0.9008 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.665e-05/0.2742, allocations: 19.88 kB / 0.9009 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.555e-05/0.2743, allocations: 19.86 kB / 0.9009 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.2743, allocations: 4 kB / 0.9009 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.145e-06/0.2743, allocations: 0 / 0.9009 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.2744, allocations: 15.91 kB / 0.9009 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.874e-05/0.2744, allocations: 37.64 kB / 0.9009 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.326e-05/0.2745, allocations: 55.83 kB / 0.901 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2745, allocations: 0 / 0.901 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2745, allocations: 0 / 0.901 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2745, allocations: 0 / 0.901 GB, free: 62.93 MB / 0.6042 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.000403/0.2749, allocations: 371.4 kB / 0.9013 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.275, allocations: 12.03 kB / 0.9014 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.15e-05/0.275, allocations: 34.56 kB / 0.9014 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.2751, allocations: 19.75 kB / 0.9014 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.2753, allocations: 204.1 kB / 0.9016 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.2753, allocations: 4 kB / 0.9016 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.2754, allocations: 12 kB / 0.9016 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.2756, allocations: 99.28 kB / 0.9017 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.2756, allocations: 0 / 0.9017 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.2756, allocations: 0 / 0.9017 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.2756, allocations: 7.938 kB / 0.9017 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.07e-05/0.2757, allocations: 35.98 kB / 0.9018 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005824/0.2763, allocations: 448.5 kB / 0.9022 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.812e-05/0.2764, allocations: 41.28 kB / 0.9022 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.2764, allocations: 0 / 0.9022 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.2764, allocations: 34.69 kB / 0.9023 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.2764, allocations: 0 / 0.9023 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001909/0.2766, allocations: 57.45 kB / 0.9023 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.2767, allocations: 89.09 kB / 0.9024 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.2768, allocations: 162.2 kB / 0.9026 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.2768, allocations: 33.64 kB / 0.9026 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.645e-05/0.2769, allocations: 104 kB / 0.9027 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.257e-05/0.277, allocations: 3.906 kB / 0.9027 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.277, allocations: 0 / 0.9027 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.2771, allocations: 323.1 kB / 0.903 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.13e-05/0.2771, allocations: 12 kB / 0.903 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.326e-05/0.2771, allocations: 17.72 kB / 0.903 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.755e-05/0.2772, allocations: 8 kB / 0.903 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2772, allocations: 0 / 0.903 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.127e-05/0.2773, allocations: 65.48 kB / 0.9031 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.2773, allocations: 4 kB / 0.9031 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.2773, allocations: 4.062 kB / 0.9031 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.2773, allocations: 4 kB / 0.9031 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.09e-05/0.2774, allocations: 4 kB / 0.9031 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.2774, allocations: 3.984 kB / 0.9031 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.853e-05/0.2775, allocations: 19.83 kB / 0.9031 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.2775, allocations: 3.938 kB / 0.9031 GB, free: 60.48 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.599e-05/0.2776, allocations: 113.8 kB / 0.9032 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.316e-05/0.2776, allocations: 15.8 kB / 0.9033 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.265e-05/0.2777, allocations: 12.56 kB / 0.9033 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2777, allocations: 4 kB / 0.9033 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.2777, allocations: 4 kB / 0.9033 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.2777, allocations: 0 / 0.9033 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003595/0.2781, allocations: 478.8 kB / 0.9037 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2781, allocations: 4 kB / 0.9037 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.499e-05/0.2781, allocations: 0 / 0.9037 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.2781, allocations: 4 kB / 0.9037 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.2781, allocations: 0 / 0.9037 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.2781, allocations: 8.062 kB / 0.9037 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2782, allocations: 3.938 kB / 0.9038 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.2783, allocations: 99.56 kB / 0.9038 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/0.2784, allocations: 92.91 kB / 0.9039 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.2784, allocations: 0 / 0.9039 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.476e-05/0.2784, allocations: 4.031 kB / 0.9039 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/0.2784, allocations: 4 kB / 0.9039 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.2784, allocations: 4 kB / 0.9039 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.636e-05/0.2785, allocations: 120.9 kB / 0.9041 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2785, allocations: 0 / 0.9041 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001906/0.2787, allocations: 8 kB / 0.9041 GB, free: 59.41 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003925/0.2791, allocations: 0.7031 MB / 0.9048 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001066/0.2793, allocations: 16 kB / 0.9048 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2793, allocations: 3.938 kB / 0.9048 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.421e-05/0.2793, allocations: 7.984 kB / 0.9048 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.2794, allocations: 8.281 kB / 0.9048 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009178/0.2804, allocations: 0.7493 MB / 0.9055 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.2806, allocations: 0.6965 MB / 0.9062 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.383e-05/0.2807, allocations: 8.422 kB / 0.9062 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.707e-05/0.2807, allocations: 23.44 kB / 0.9062 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of SimCode: time 4.8e-07/0.2807, allocations: 0 / 0.9062 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01393/0.2947, allocations: 1.595 MB / 0.9078 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/0.2949, allocations: 204.8 kB / 0.908 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.543/1.838, allocations: 0 / 0.908 GB, free: 55.43 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1)