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.953/1.953, allocations: 289.7 MB / 302.2 MB, free: 2.156 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.001028/0.001028, allocations: 183.8 kB / 371.6 MB, free: 3.355 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.379/1.379, allocations: 205.2 MB / 0.6309 GB, free: 11.76 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.0008746/0.0008747, allocations: 91.56 kB / 0.745 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.283e-05/5.315e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3275, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.066/1.394, allocations: 138.5 MB / 1.115 GB, free: 45.08 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/1.394, allocations: 65.28 kB / 1.115 GB, free: 45.05 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002891/1.397, allocations: 1.146 MB / 1.116 GB, free: 44.33 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.585e-06/1.397, allocations: 0 / 1.116 GB, free: 44.33 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.632e-05/1.397, allocations: 3.25 kB / 1.116 GB, free: 44.33 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.0004222/1.398, allocations: 372.9 kB / 1.117 GB, free: 43.95 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.432e-05/1.398, allocations: 8.031 kB / 1.117 GB, free: 43.94 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.268e-05/1.398, allocations: 38 kB / 1.117 GB, free: 43.89 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.313e-05/1.398, allocations: 15.94 kB / 1.117 GB, free: 43.88 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/1.398, allocations: 181.5 kB / 1.117 GB, free: 43.67 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/1.398, allocations: 8.094 kB / 1.117 GB, free: 43.67 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.26e-05/1.398, allocations: 9.422 kB / 1.117 GB, free: 43.66 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/1.398, allocations: 95.81 kB / 1.117 GB, free: 43.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/1.398, allocations: 3.938 kB / 1.117 GB, free: 43.58 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/1.399, allocations: 0 / 1.117 GB, free: 43.58 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/1.399, allocations: 4.5 kB / 1.117 GB, free: 43.58 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.822e-05/1.399, allocations: 36.91 kB / 1.117 GB, free: 43.55 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008218/1.399, allocations: 464.9 kB / 1.117 GB, free: 43.13 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/1.4, allocations: 41.03 kB / 1.118 GB, free: 43.08 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.497e-05/1.4, allocations: 14.53 kB / 1.118 GB, free: 43.06 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/1.4, allocations: 3.594 kB / 1.118 GB, free: 43.06 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/1.4, allocations: 39.94 kB / 1.118 GB, free: 43.02 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.994e-06/1.4, allocations: 4 kB / 1.118 GB, free: 43.01 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002309/1.4, allocations: 56.86 kB / 1.118 GB, free: 42.96 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/1.4, allocations: 81.05 kB / 1.118 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/1.4, allocations: 152.9 kB / 1.118 GB, free: 42.72 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/1.4, allocations: 25.7 kB / 1.118 GB, free: 42.69 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.225e-05/1.4, allocations: 113.6 kB / 1.118 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.051e-05/1.4, allocations: 3.906 kB / 1.118 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/1.4, allocations: 0 / 1.118 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.385e-05/1.4, allocations: 328.8 kB / 1.118 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.364e-05/1.401, allocations: 4 kB / 1.118 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.098e-05/1.401, allocations: 23.09 kB / 1.118 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.986e-05/1.401, allocations: 6.875 kB / 1.118 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/1.401, allocations: 0 / 1.118 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001137/1.401, allocations: 67.78 kB / 1.118 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/1.401, allocations: 8.062 kB / 1.118 GB, free: 42.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.401, allocations: 4 kB / 1.118 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/1.401, allocations: 0 / 1.118 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.557e-05/1.401, allocations: 4 kB / 1.118 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.696e-05/1.401, allocations: 3.422 kB / 1.118 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.748e-05/1.401, allocations: 11.84 kB / 1.118 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/1.401, allocations: 0 / 1.118 GB, free: 42.15 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 7.679e-05/1.401, allocations: 108 kB / 1.119 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.89e-05/1.401, allocations: 12.42 kB / 1.119 GB, free: 42.03 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.332e-05/1.401, allocations: 16.38 kB / 1.119 GB, free: 42.02 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/1.401, allocations: 0.75 kB / 1.119 GB, free: 42.02 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/1.401, allocations: 3.562 kB / 1.119 GB, free: 42.02 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.401, allocations: 0 / 1.119 GB, free: 42.02 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004404/1.402, allocations: 477.2 kB / 1.119 GB, free: 41.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/1.402, allocations: 0.5625 kB / 1.119 GB, free: 41.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.155e-05/1.402, allocations: 10.78 kB / 1.119 GB, free: 41.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/1.402, allocations: 4.062 kB / 1.119 GB, free: 41.51 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/1.402, allocations: 0 / 1.119 GB, free: 41.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/1.402, allocations: 7.422 kB / 1.119 GB, free: 41.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.402, allocations: 0 / 1.119 GB, free: 41.51 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/1.402, allocations: 89.7 kB / 1.119 GB, free: 41.4 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.276e-05/1.402, allocations: 95.33 kB / 1.119 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/1.402, allocations: 4.594 kB / 1.119 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.713e-05/1.402, allocations: 4 kB / 1.119 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.121e-05/1.402, allocations: 0 / 1.119 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/1.402, allocations: 3.891 kB / 1.119 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001185/1.402, allocations: 126.9 kB / 1.119 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.483e-06/1.402, allocations: 1.219 kB / 1.119 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002147/1.403, allocations: 11.94 kB / 1.119 GB, free: 41.17 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.0005628/1.403, allocations: 0.698 MB / 1.12 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001085/1.403, allocations: 19.56 kB / 1.12 GB, free: 40.44 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.403, allocations: 0 / 1.12 GB, free: 40.44 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.557e-05/1.403, allocations: 11.59 kB / 1.12 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/1.403, allocations: 7.812 kB / 1.12 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004727/1.404, allocations: 143.2 kB / 1.12 GB, free: 40.27 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/1.404, allocations: 0.702 MB / 1.121 GB, free: 39.56 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.404e-05/1.404, allocations: 7.859 kB / 1.121 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.316e-05/1.404, allocations: 25.81 kB / 1.121 GB, free: 39.54 MB / 0.7448 GB Notification: Performance of SimCode: time 3.5e-07/1.404, allocations: 0 / 1.121 GB, free: 39.54 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01372/1.418, allocations: 1.551 MB / 1.122 GB, free: 38.71 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/1.418, allocations: 181.8 kB / 1.123 GB, free: 38.48 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/3.095, allocations: 3.156 kB / 1.123 GB, free: 38.48 MB / 0.7448 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)