Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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_bar,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",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.434/2.434, allocations: 284.9 MB / 292.4 MB, free: 10.56 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.001376/0.001375, allocations: 184.8 kB / 360.6 MB, free: 7.297 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.091/2.091, allocations: 205.3 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.001138/0.001137, allocations: 92.89 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.66e-05/3.655e-05, allocations: 4 kB / 0.8509 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8508/0.8509, allocations: 115.2 MB / 0.9634 GB, free: 78.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2431/1.094, allocations: 136.7 MB / 1.097 GB, free: 3.773 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/1.094, allocations: 66.03 kB / 1.097 GB, free: 3.711 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004075/1.099, allocations: 1.15 MB / 1.098 GB, free: 2.586 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.603e-06/1.099, allocations: 0 / 1.098 GB, free: 2.586 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.526e-06/1.099, allocations: 4 kB / 1.098 GB, free: 2.582 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.0004302/1.099, allocations: 371.5 kB / 1.098 GB, free: 2.176 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/1.099, allocations: 8.031 kB / 1.098 GB, free: 2.168 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/1.099, allocations: 11.81 kB / 1.098 GB, free: 2.156 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/1.099, allocations: 184.1 kB / 1.099 GB, free: 1.938 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/1.099, allocations: 4.594 kB / 1.099 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/1.099, allocations: 4 kB / 1.099 GB, free: 1.93 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001319/1.1, allocations: 40.31 kB / 1.099 GB, free: 1.895 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/1.1, allocations: 85.44 kB / 1.099 GB, free: 1.801 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/1.1, allocations: 1.344 kB / 1.099 GB, free: 1.801 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/1.1, allocations: 0 / 1.099 GB, free: 1.801 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/1.1, allocations: 0.6562 kB / 1.099 GB, free: 1.801 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007046/1.101, allocations: 420.7 kB / 1.099 GB, free: 1.352 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.098e-05/1.101, allocations: 42.59 kB / 1.099 GB, free: 1.293 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.025e-05/1.101, allocations: 14.44 kB / 1.099 GB, free: 1.273 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/1.101, allocations: 0.6562 kB / 1.099 GB, free: 1.273 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/1.101, allocations: 31.34 kB / 1.099 GB, free: 1.234 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.764e-06/1.101, allocations: 1.281 kB / 1.099 GB, free: 1.234 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001916/1.101, allocations: 47.27 kB / 1.099 GB, free: 1.184 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/1.101, allocations: 81.09 kB / 1.099 GB, free: 1.086 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/1.101, allocations: 130.9 kB / 1.099 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/1.101, allocations: 25.7 kB / 1.1 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.532e-05/1.101, allocations: 112.1 kB / 1.1 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.598e-06/1.101, allocations: 3.906 kB / 1.1 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/1.101, allocations: 3.188 kB / 1.1 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001199/1.101, allocations: 315.7 kB / 1.1 GB, free: 500 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.851e-05/1.101, allocations: 15.39 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.811e-05/1.102, allocations: 21.72 kB / 1.1 GB, free: 460 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.578e-05/1.102, allocations: 4 kB / 1.1 GB, free: 456 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.102, allocations: 0 / 1.1 GB, free: 456 kB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001255/1.102, allocations: 61.5 kB / 1.1 GB, free: 388 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/1.102, allocations: 15.83 kB / 1.1 GB, free: 376 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/1.102, allocations: 3.969 kB / 1.1 GB, free: 376 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/1.102, allocations: 0 / 1.1 GB, free: 376 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.807e-05/1.102, allocations: 7.938 kB / 1.1 GB, free: 368 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/1.102, allocations: 4 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.571e-05/1.102, allocations: 4.812 kB / 1.1 GB, free: 360 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/1.102, allocations: 0 / 1.1 GB, free: 360 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.933e-05/1.102, allocations: 112.9 kB / 1.1 GB, free: 240 kB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001265/1.102, allocations: 57.48 kB / 1.1 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.096e-05/1.102, allocations: 7.906 kB / 1.1 GB, free: 168 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/1.102, allocations: 7.969 kB / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.102, allocations: 0 / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/1.102, allocations: 4 kB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/1.102, allocations: 0 / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00051/1.103, allocations: 451.4 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.103, allocations: 0 / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.019e-05/1.103, allocations: 4 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/1.103, allocations: 1.453 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/1.103, allocations: 0 / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/1.103, allocations: 0 / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/1.103, allocations: 4 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/1.103, allocations: 99.56 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.124e-05/1.103, allocations: 85 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/1.103, allocations: 4 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.232e-05/1.103, allocations: 0 / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.789e-05/1.103, allocations: 0 / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/1.103, allocations: 4 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.827e-05/1.103, allocations: 104.7 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.91e-07/1.103, allocations: 4.031 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002786/1.104, allocations: 8 kB / 1.101 GB, free: 15.31 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.0004526/1.104, allocations: 0.6914 MB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001024/1.104, allocations: 20.03 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.104, allocations: 0 / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.327e-05/1.104, allocations: 4 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/1.105, allocations: 14.02 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000475/1.105, allocations: 144.9 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/1.105, allocations: 0.7043 MB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.796e-05/1.105, allocations: 4.188 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.891e-05/1.105, allocations: 23.42 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of SimCode: time 8.21e-07/1.105, allocations: 0 / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03323/1.139, allocations: 0.9819 MB / 1.103 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000351/1.139, allocations: 150.1 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.265/3.404, allocations: 4.984 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1)