Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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_bar,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.682/1.682, allocations: 289.7 MB / 302.3 MB, free: 2.152 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.001386/0.001386, allocations: 186.3 kB / 371.6 MB, free: 3.379 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.575/1.575, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009059/0.0009061, allocations: 88.28 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.184e-05/4.185e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2906, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.007/1.298, allocations: 138.5 MB / 1.115 GB, free: 44.96 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003445/1.298, allocations: 65.95 kB / 1.115 GB, free: 44.94 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002851/1.301, allocations: 1.149 MB / 1.116 GB, free: 44.21 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.284e-06/1.301, allocations: 0 / 1.116 GB, free: 44.21 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.202e-05/1.301, allocations: 0.8438 kB / 1.116 GB, free: 44.21 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.0003825/1.302, allocations: 373.1 kB / 1.117 GB, free: 43.83 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.778e-05/1.302, allocations: 10.19 kB / 1.117 GB, free: 43.82 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.125e-05/1.302, allocations: 45.91 kB / 1.117 GB, free: 43.77 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/1.302, allocations: 14.31 kB / 1.117 GB, free: 43.76 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/1.302, allocations: 178.2 kB / 1.117 GB, free: 43.55 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/1.302, allocations: 5.516 kB / 1.117 GB, free: 43.55 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/1.302, allocations: 10.94 kB / 1.117 GB, free: 43.55 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/1.302, allocations: 97.55 kB / 1.117 GB, free: 43.46 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/1.302, allocations: 0 / 1.117 GB, free: 43.46 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/1.302, allocations: 0 / 1.117 GB, free: 43.46 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/1.302, allocations: 4.562 kB / 1.117 GB, free: 43.46 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.704e-05/1.302, allocations: 35.19 kB / 1.117 GB, free: 43.44 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006253/1.303, allocations: 467.2 kB / 1.117 GB, free: 43.01 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.26e-05/1.303, allocations: 37.22 kB / 1.118 GB, free: 42.96 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.118e-05/1.303, allocations: 22.41 kB / 1.118 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-06/1.303, allocations: 0 / 1.118 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/1.303, allocations: 31.31 kB / 1.118 GB, free: 42.89 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/1.303, allocations: 0 / 1.118 GB, free: 42.89 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001597/1.303, allocations: 60.73 kB / 1.118 GB, free: 42.84 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/1.303, allocations: 84.5 kB / 1.118 GB, free: 42.74 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/1.304, allocations: 153.9 kB / 1.118 GB, free: 42.6 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/1.304, allocations: 29.7 kB / 1.118 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.546e-05/1.304, allocations: 107 kB / 1.118 GB, free: 42.47 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.105e-06/1.304, allocations: 7.844 kB / 1.118 GB, free: 42.47 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-06/1.304, allocations: 0 / 1.118 GB, free: 42.47 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.612e-05/1.304, allocations: 323 kB / 1.118 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.951e-05/1.304, allocations: 11.94 kB / 1.118 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.128e-05/1.304, allocations: 14.84 kB / 1.118 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.67e-05/1.304, allocations: 11.94 kB / 1.118 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.304, allocations: 0 / 1.118 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.976e-05/1.304, allocations: 68.25 kB / 1.118 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/1.304, allocations: 4 kB / 1.118 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/1.304, allocations: 64 / 1.118 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/1.304, allocations: 8.562 kB / 1.118 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.418e-05/1.304, allocations: 4 kB / 1.118 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/1.304, allocations: 3.422 kB / 1.118 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.51e-05/1.304, allocations: 11.84 kB / 1.118 GB, free: 42.03 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/1.304, allocations: 0.625 kB / 1.118 GB, free: 42.03 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 5.731e-05/1.304, allocations: 104.5 kB / 1.119 GB, free: 41.92 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.467e-05/1.304, allocations: 16.42 kB / 1.119 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.496e-05/1.304, allocations: 12.44 kB / 1.119 GB, free: 41.9 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/1.304, allocations: 11.38 kB / 1.119 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/1.304, allocations: 0 / 1.119 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/1.304, allocations: 0 / 1.119 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003446/1.305, allocations: 475.8 kB / 1.119 GB, free: 41.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.305, allocations: 0.9375 kB / 1.119 GB, free: 41.4 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.503e-05/1.305, allocations: 9.297 kB / 1.119 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/1.305, allocations: 0 / 1.119 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/1.305, allocations: 3.234 kB / 1.119 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/1.305, allocations: 7.969 kB / 1.119 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.305, allocations: 4 kB / 1.119 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.498e-05/1.305, allocations: 83.45 kB / 1.119 GB, free: 41.28 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/1.305, allocations: 96.25 kB / 1.119 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/1.305, allocations: 0 / 1.119 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.354e-05/1.305, allocations: 4.031 kB / 1.119 GB, free: 41.17 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/1.305, allocations: 12.11 kB / 1.119 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/1.305, allocations: 0 / 1.119 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.569e-05/1.305, allocations: 122.8 kB / 1.119 GB, free: 41.06 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/1.305, allocations: 0 / 1.119 GB, free: 41.06 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001818/1.305, allocations: 12 kB / 1.119 GB, free: 41.05 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.0003234/1.306, allocations: 0.7015 MB / 1.12 GB, free: 40.33 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.41e-05/1.306, allocations: 19.81 kB / 1.12 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.306, allocations: 0 / 1.12 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.185e-05/1.306, allocations: 8.656 kB / 1.12 GB, free: 40.31 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001164/1.306, allocations: 4.281 kB / 1.12 GB, free: 40.31 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000385/1.306, allocations: 147.7 kB / 1.12 GB, free: 40.15 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/1.306, allocations: 0.7023 MB / 1.121 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.191e-05/1.307, allocations: 7.953 kB / 1.121 GB, free: 39.43 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.575e-05/1.307, allocations: 23.06 kB / 1.121 GB, free: 39.43 MB / 0.7448 GB Notification: Performance of SimCode: time 3.3e-07/1.307, allocations: 4 kB / 1.121 GB, free: 39.42 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01325/1.32, allocations: 1.55 MB / 1.122 GB, free: 38.58 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/1.32, allocations: 166.6 kB / 1.123 GB, free: 38.35 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/3.02, allocations: 0 / 1.123 GB, free: 38.35 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1)