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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.777/1.777, allocations: 289.7 MB / 302.3 MB, free: 2.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 182.4 kB / 371.6 MB, free: 3.414 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.787/1.787, allocations: 205.1 MB / 0.6309 GB, free: 11.79 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009759/0.0009759, allocations: 90.45 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.579e-05/4.581e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3214, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9495/1.271, allocations: 138.5 MB / 1.115 GB, free: 44.98 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/1.271, allocations: 65.97 kB / 1.115 GB, free: 44.95 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002703/1.274, allocations: 1.149 MB / 1.116 GB, free: 44.23 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.423e-06/1.274, allocations: 0 / 1.116 GB, free: 44.23 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.354e-05/1.274, allocations: 4.562 kB / 1.116 GB, free: 44.23 MB / 0.7448 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.0003678/1.274, allocations: 373.5 kB / 1.117 GB, free: 43.84 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.992e-05/1.274, allocations: 12.62 kB / 1.117 GB, free: 43.83 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.654e-05/1.275, allocations: 35.19 kB / 1.117 GB, free: 43.79 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.231e-05/1.275, allocations: 22.3 kB / 1.117 GB, free: 43.78 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/1.275, allocations: 174.8 kB / 1.117 GB, free: 43.57 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/1.275, allocations: 7.875 kB / 1.117 GB, free: 43.57 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/1.275, allocations: 6.438 kB / 1.117 GB, free: 43.56 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/1.275, allocations: 94.22 kB / 1.117 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/1.275, allocations: 4.547 kB / 1.117 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/1.275, allocations: 3.875 kB / 1.117 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/1.275, allocations: 5.5 kB / 1.117 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.326e-05/1.275, allocations: 35.5 kB / 1.117 GB, free: 43.45 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006662/1.276, allocations: 462.3 kB / 1.117 GB, free: 43.03 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.877e-05/1.276, allocations: 36.97 kB / 1.118 GB, free: 42.98 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.132e-05/1.276, allocations: 14.72 kB / 1.118 GB, free: 42.96 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.679e-06/1.276, allocations: 0 / 1.118 GB, free: 42.96 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/1.276, allocations: 46.47 kB / 1.118 GB, free: 42.91 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 3.166e-06/1.276, allocations: 0 / 1.118 GB, free: 42.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001697/1.276, allocations: 56.03 kB / 1.118 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/1.276, allocations: 81.05 kB / 1.118 GB, free: 42.76 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/1.276, allocations: 153.1 kB / 1.118 GB, free: 42.62 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/1.276, allocations: 29.22 kB / 1.118 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.343e-05/1.276, allocations: 112.8 kB / 1.118 GB, free: 42.49 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.808e-06/1.276, allocations: 11.89 kB / 1.118 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.193e-05/1.276, allocations: 0 / 1.118 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.658e-05/1.277, allocations: 318.2 kB / 1.118 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.863e-05/1.277, allocations: 7.562 kB / 1.118 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.273e-05/1.277, allocations: 20.53 kB / 1.118 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.512e-05/1.277, allocations: 7.188 kB / 1.118 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.277, allocations: 4 kB / 1.118 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.027e-05/1.277, allocations: 70.78 kB / 1.118 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/1.277, allocations: 8 kB / 1.118 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/1.277, allocations: 0.6562 kB / 1.118 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/1.277, allocations: 0 / 1.118 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.281e-05/1.277, allocations: 4 kB / 1.118 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/1.277, allocations: 4 kB / 1.118 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.468e-05/1.277, allocations: 8.719 kB / 1.118 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/1.277, allocations: 7.422 kB / 1.118 GB, free: 42.04 MB / 0.7448 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 () * 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 4.895e-05/1.277, allocations: 105 kB / 1.119 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/1.277, allocations: 12.8 kB / 1.119 GB, free: 41.92 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.221e-05/1.277, allocations: 15.09 kB / 1.119 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/1.277, allocations: 0 / 1.119 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/1.277, allocations: 0 / 1.119 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/1.277, allocations: 3.562 kB / 1.119 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003053/1.277, allocations: 479.5 kB / 1.119 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/1.277, allocations: 1.062 kB / 1.119 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.421e-05/1.277, allocations: 11.11 kB / 1.119 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/1.277, allocations: 0.8438 kB / 1.119 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/1.277, allocations: 4 kB / 1.119 GB, free: 41.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/1.277, allocations: 0.5625 kB / 1.119 GB, free: 41.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.277, allocations: 0 / 1.119 GB, free: 41.4 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.553e-05/1.278, allocations: 98.19 kB / 1.119 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-05/1.278, allocations: 91.3 kB / 1.119 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/1.278, allocations: 4.562 kB / 1.119 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.229e-05/1.278, allocations: 0 / 1.119 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.469e-05/1.278, allocations: 3.938 kB / 1.119 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/1.278, allocations: 0 / 1.119 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.083e-05/1.278, allocations: 126.5 kB / 1.119 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.278, allocations: 0 / 1.119 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001728/1.278, allocations: 12.03 kB / 1.119 GB, free: 41.07 MB / 0.7448 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 () * 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.0003111/1.278, allocations: 0.6993 MB / 1.12 GB, free: 40.35 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.728e-05/1.278, allocations: 26.12 kB / 1.12 GB, free: 40.33 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.278, allocations: 0 / 1.12 GB, free: 40.33 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.309e-05/1.278, allocations: 6.688 kB / 1.12 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001193/1.279, allocations: 10.11 kB / 1.12 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003448/1.279, allocations: 143.4 kB / 1.12 GB, free: 40.17 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001704/1.279, allocations: 0.7063 MB / 1.121 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.233e-05/1.279, allocations: 4.438 kB / 1.121 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.891e-05/1.279, allocations: 25.11 kB / 1.121 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of SimCode: time 3.71e-07/1.279, allocations: 0 / 1.121 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01339/1.293, allocations: 1.551 MB / 1.122 GB, free: 38.59 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001482/1.293, allocations: 162.7 kB / 1.123 GB, free: 38.36 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/2.88, allocations: 3.938 kB / 1.123 GB, free: 38.36 MB / 0.7448 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1)