Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.485/2.485, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.001464/0.001464, allocations: 176.9 kB / 360.6 MB, free: 7.285 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.108/2.108, allocations: 205.2 MB / 0.6191 GB, free: 12.2 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.001061/0.00106, allocations: 94.58 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.467e-05/2.465e-05, allocations: 4 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8473/0.8474, allocations: 115.3 MB / 0.9634 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.241/1.088, allocations: 136.7 MB / 1.097 GB, free: 3.809 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/1.089, allocations: 71.95 kB / 1.097 GB, free: 3.738 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004059/1.093, allocations: 1.141 MB / 1.098 GB, free: 2.617 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.753e-06/1.093, allocations: 0.5938 kB / 1.098 GB, free: 2.617 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.423e-05/1.093, allocations: 4 kB / 1.098 GB, free: 2.613 MB / 0.698 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.0004364/1.093, allocations: 364.9 kB / 1.098 GB, free: 2.215 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/1.093, allocations: 12.03 kB / 1.098 GB, free: 2.203 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.274e-05/1.094, allocations: 12.41 kB / 1.098 GB, free: 2.191 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/1.094, allocations: 191.4 kB / 1.099 GB, free: 1.969 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/1.094, allocations: 0 / 1.099 GB, free: 1.969 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/1.094, allocations: 5.344 kB / 1.099 GB, free: 1.965 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001318/1.094, allocations: 36.94 kB / 1.099 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/1.094, allocations: 88.05 kB / 1.099 GB, free: 1.836 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/1.094, allocations: 0 / 1.099 GB, free: 1.836 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/1.094, allocations: 0.6875 kB / 1.099 GB, free: 1.836 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/1.094, allocations: 4 kB / 1.099 GB, free: 1.832 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006972/1.095, allocations: 417.2 kB / 1.099 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.429e-05/1.095, allocations: 42.08 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.767e-05/1.095, allocations: 15.06 kB / 1.099 GB, free: 1.309 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/1.095, allocations: 4.75 kB / 1.099 GB, free: 1.305 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/1.095, allocations: 31.78 kB / 1.099 GB, free: 1.266 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.673e-06/1.095, allocations: 0.5938 kB / 1.099 GB, free: 1.266 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001912/1.095, allocations: 46.64 kB / 1.099 GB, free: 1.215 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/1.095, allocations: 77.11 kB / 1.099 GB, free: 1.121 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/1.096, allocations: 131.9 kB / 1.099 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/1.096, allocations: 26.39 kB / 1.1 GB, free: 0.957 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.184e-05/1.096, allocations: 108.1 kB / 1.1 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.351e-05/1.096, allocations: 16.02 kB / 1.1 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-06/1.096, allocations: 0 / 1.1 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001291/1.096, allocations: 315.7 kB / 1.1 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.774e-05/1.096, allocations: 6.438 kB / 1.1 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.219e-05/1.096, allocations: 25.56 kB / 1.1 GB, free: 500 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.982e-05/1.096, allocations: 11.98 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.096, allocations: 0 / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001297/1.096, allocations: 61.56 kB / 1.1 GB, free: 420 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/1.096, allocations: 4 kB / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/1.096, allocations: 4.219 kB / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.897e-05/1.096, allocations: 0 / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/1.096, allocations: 15.92 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/1.096, allocations: 2.344 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.174e-05/1.096, allocations: 7.938 kB / 1.1 GB, free: 388 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-06/1.096, allocations: 0 / 1.1 GB, free: 388 kB / 0.698 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.903e-05/1.097, allocations: 101 kB / 1.1 GB, free: 280 kB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001237/1.097, allocations: 57.56 kB / 1.1 GB, free: 216 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/1.097, allocations: 7.906 kB / 1.1 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.308e-05/1.097, allocations: 11.95 kB / 1.1 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/1.097, allocations: 0 / 1.1 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.097, allocations: 0 / 1.1 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/1.097, allocations: 0 / 1.1 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005475/1.097, allocations: 459.4 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/1.097, allocations: 3.625 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.149e-05/1.097, allocations: 4 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/1.097, allocations: 0 / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/1.097, allocations: 0 / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/1.097, allocations: 0 / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/1.097, allocations: 0 / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/1.098, allocations: 99.53 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.772e-05/1.098, allocations: 85.02 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/1.098, allocations: 0 / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.385e-05/1.098, allocations: 0 / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.505e-05/1.098, allocations: 7.984 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/1.098, allocations: 1.312 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.151e-05/1.098, allocations: 99.28 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-07/1.098, allocations: 0 / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002662/1.098, allocations: 8 kB / 1.101 GB, free: 15.35 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.0004596/1.099, allocations: 0.6915 MB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001085/1.099, allocations: 19.94 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.099, allocations: 4.156 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.431e-05/1.099, allocations: 8 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/1.099, allocations: 7.953 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004799/1.1, allocations: 145 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/1.1, allocations: 0.7056 MB / 1.102 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.847e-05/1.1, allocations: 8.172 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.962e-05/1.1, allocations: 25.03 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of SimCode: time 6.22e-07/1.1, allocations: 0 / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03789/1.138, allocations: 0.9865 MB / 1.103 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000374/1.138, allocations: 153.2 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.341/3.48, allocations: 0 / 1.104 GB, free: 12.52 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1)