Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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_BtuPerHour,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.756/1.756, allocations: 289.9 MB / 297.4 MB, free: 6.363 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.0009617/0.0009617, allocations: 180.8 kB / 366.7 MB, free: 1.688 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.599/1.599, allocations: 205.2 MB / 0.626 GB, free: 7.188 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.0008346/0.0008348, allocations: 94.94 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.144e-05/3.114e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7993/0.7994, allocations: 116.3 MB / 0.9733 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2134/1.013, allocations: 137.8 MB / 1.108 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003193/1.013, allocations: 74.67 kB / 1.108 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003145/1.016, allocations: 1.152 MB / 1.109 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.623e-06/1.016, allocations: 0.6562 kB / 1.109 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.122e-05/1.016, allocations: 4.594 kB / 1.109 GB, free: 11.11 MB / 0.7136 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.0004709/1.017, allocations: 367.4 kB / 1.109 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.765e-05/1.017, allocations: 9.5 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.1e-05/1.017, allocations: 19.2 kB / 1.109 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/1.017, allocations: 182.9 kB / 1.11 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/1.017, allocations: 0.8125 kB / 1.11 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/1.017, allocations: 4 kB / 1.11 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001321/1.018, allocations: 32 kB / 1.11 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/1.018, allocations: 84.33 kB / 1.11 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/1.018, allocations: 0.5938 kB / 1.11 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/1.018, allocations: 0.875 kB / 1.11 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/1.018, allocations: 4 kB / 1.11 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006548/1.018, allocations: 424.7 kB / 1.11 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.208e-05/1.018, allocations: 34.39 kB / 1.11 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.87e-05/1.019, allocations: 18.22 kB / 1.11 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/1.019, allocations: 2.938 kB / 1.11 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/1.019, allocations: 38.59 kB / 1.11 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/1.019, allocations: 2.625 kB / 1.11 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001752/1.019, allocations: 37.7 kB / 1.11 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/1.019, allocations: 82.27 kB / 1.11 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/1.019, allocations: 131.4 kB / 1.111 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/1.019, allocations: 26.83 kB / 1.111 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.248e-05/1.019, allocations: 112 kB / 1.111 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/1.019, allocations: 7.906 kB / 1.111 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/1.019, allocations: 7.625 kB / 1.111 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001571/1.019, allocations: 314.8 kB / 1.111 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.775e-05/1.019, allocations: 4 kB / 1.111 GB, free: 9.012 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.591e-05/1.019, allocations: 21.7 kB / 1.111 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.146e-05/1.019, allocations: 15.98 kB / 1.111 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/1.019, allocations: 0 / 1.111 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.336e-05/1.019, allocations: 50.14 kB / 1.111 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/1.02, allocations: 8.672 kB / 1.111 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/1.02, allocations: 1.625 kB / 1.111 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/1.02, allocations: 4 kB / 1.111 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.684e-05/1.02, allocations: 19.31 kB / 1.111 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/1.02, allocations: 0 / 1.111 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.094e-05/1.02, allocations: 7.938 kB / 1.111 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/1.02, allocations: 2.094 kB / 1.111 GB, free: 8.879 MB / 0.7136 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 7.269e-05/1.02, allocations: 101 kB / 1.111 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.851e-05/1.02, allocations: 49.55 kB / 1.111 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/1.02, allocations: 12.86 kB / 1.111 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.973e-05/1.02, allocations: 11.95 kB / 1.111 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/1.02, allocations: 3.562 kB / 1.111 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.02, allocations: 0 / 1.111 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/1.02, allocations: 0 / 1.111 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000364/1.02, allocations: 454.1 kB / 1.112 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.02, allocations: 4 kB / 1.112 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.125e-05/1.02, allocations: 0 / 1.112 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/1.02, allocations: 4.25 kB / 1.112 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/1.02, allocations: 4 kB / 1.112 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/1.02, allocations: 0 / 1.112 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.02, allocations: 2.438 kB / 1.112 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/1.021, allocations: 91.56 kB / 1.112 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.395e-05/1.021, allocations: 85.02 kB / 1.112 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/1.021, allocations: 3.984 kB / 1.112 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.118e-05/1.021, allocations: 4.031 kB / 1.112 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.849e-05/1.021, allocations: 4 kB / 1.112 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/1.021, allocations: 0 / 1.112 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.184e-05/1.021, allocations: 105.9 kB / 1.112 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/1.021, allocations: 0 / 1.112 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001761/1.021, allocations: 8 kB / 1.112 GB, free: 7.848 MB / 0.7136 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.0004036/1.021, allocations: 0.6915 MB / 1.113 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001089/1.021, allocations: 19.94 kB / 1.113 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.022, allocations: 0 / 1.113 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.335e-05/1.022, allocations: 8 kB / 1.113 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001204/1.022, allocations: 9.859 kB / 1.113 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/1.022, allocations: 150.5 kB / 1.113 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/1.022, allocations: 0.697 MB / 1.114 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.298e-05/1.022, allocations: 8.172 kB / 1.114 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.975e-05/1.022, allocations: 19.44 kB / 1.114 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/1.022, allocations: 0 / 1.114 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/1.042, allocations: 0.9844 MB / 1.115 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002211/1.042, allocations: 153.1 kB / 1.115 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.636/2.678, allocations: 1.406 kB / 1.115 GB, free: 5.016 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1)