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.783/1.783, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001412/0.001412, allocations: 183.4 kB / 377.1 MB, free: 1.523 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.863/1.863, allocations: 205.4 MB / 0.6366 GB, free: 8.531 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.0009426/0.0009425, allocations: 98.27 kB / 0.7509 GB, free: 63.34 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004203/0.0004204, allocations: 12 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3013, allocations: 116.3 MB / 0.9884 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6813/0.9827, allocations: 138.5 MB / 1.124 GB, free: 35.88 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.9829, allocations: 67.02 kB / 1.124 GB, free: 35.82 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002533/0.9855, allocations: 1.153 MB / 1.125 GB, free: 34.97 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.954e-06/0.9855, allocations: 1.094 kB / 1.125 GB, free: 34.97 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.9855, allocations: 4 kB / 1.125 GB, free: 34.96 MB / 0.7292 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.0003012/0.9858, allocations: 390.5 kB / 1.125 GB, free: 34.55 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.9859, allocations: 12.02 kB / 1.125 GB, free: 34.54 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.624e-05/0.9859, allocations: 39.16 kB / 1.125 GB, free: 34.49 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.089e-05/0.986, allocations: 11.2 kB / 1.125 GB, free: 34.48 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.9861, allocations: 187.4 kB / 1.126 GB, free: 34.27 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.9861, allocations: 10.38 kB / 1.126 GB, free: 34.26 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.9861, allocations: 8 kB / 1.126 GB, free: 34.25 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.9863, allocations: 90.45 kB / 1.126 GB, free: 34.16 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.9863, allocations: 0.6094 kB / 1.126 GB, free: 34.16 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.9863, allocations: 4 kB / 1.126 GB, free: 34.16 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.475e-06/0.9864, allocations: 4 kB / 1.126 GB, free: 34.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.616e-05/0.9864, allocations: 41.06 kB / 1.126 GB, free: 34.12 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005106/0.987, allocations: 462.2 kB / 1.126 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.006e-05/0.987, allocations: 41.28 kB / 1.126 GB, free: 33.6 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.825e-06/0.987, allocations: 128 / 1.126 GB, free: 33.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.9871, allocations: 38.56 kB / 1.126 GB, free: 33.55 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.9871, allocations: 0.75 kB / 1.126 GB, free: 33.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001766/0.9872, allocations: 57.08 kB / 1.126 GB, free: 33.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.9873, allocations: 81.11 kB / 1.126 GB, free: 33.4 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.9874, allocations: 159.2 kB / 1.126 GB, free: 33.25 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.9874, allocations: 25.7 kB / 1.127 GB, free: 33.21 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.073e-05/0.9875, allocations: 103.5 kB / 1.127 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.768e-06/0.9875, allocations: 11.84 kB / 1.127 GB, free: 33.1 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-06/0.9875, allocations: 0 / 1.127 GB, free: 33.1 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.426e-05/0.9876, allocations: 321.5 kB / 1.127 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.145e-05/0.9876, allocations: 15.55 kB / 1.127 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.167e-05/0.9876, allocations: 26.94 kB / 1.127 GB, free: 32.74 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.399e-05/0.9877, allocations: 8 kB / 1.127 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.9877, allocations: 0 / 1.127 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.431e-05/0.9878, allocations: 65.12 kB / 1.127 GB, free: 32.67 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.9878, allocations: 8.5 kB / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.9878, allocations: 4 kB / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.9878, allocations: 0 / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.213e-05/0.9879, allocations: 8.625 kB / 1.127 GB, free: 32.65 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.9879, allocations: 0.5469 kB / 1.127 GB, free: 32.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.137e-05/0.9879, allocations: 7.906 kB / 1.127 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.988, allocations: 0.9375 kB / 1.127 GB, free: 32.64 MB / 0.7292 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 () * Number of clocked 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.885e-05/0.988, allocations: 117.3 kB / 1.127 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.046e-05/0.9881, allocations: 11.86 kB / 1.127 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.9881, allocations: 12.56 kB / 1.127 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.9881, allocations: 1.125 kB / 1.127 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.9881, allocations: 4 kB / 1.127 GB, free: 32.49 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.9881, allocations: 4 kB / 1.127 GB, free: 32.49 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002824/0.9884, allocations: 478.9 kB / 1.128 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.9884, allocations: 4 kB / 1.128 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.324e-05/0.9885, allocations: 0.7969 kB / 1.128 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.9885, allocations: 4.938 kB / 1.128 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.9885, allocations: 0 / 1.128 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.9885, allocations: 0.5625 kB / 1.128 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.9885, allocations: 7.25 kB / 1.128 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.185e-05/0.9886, allocations: 100.4 kB / 1.128 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.389e-05/0.9886, allocations: 88.3 kB / 1.128 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.9886, allocations: 0.8125 kB / 1.128 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.378e-05/0.9887, allocations: 0 / 1.128 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.219e-05/0.9887, allocations: 7.453 kB / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.9887, allocations: 4 kB / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.075e-05/0.9888, allocations: 124.8 kB / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9888, allocations: 0 / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001767/0.989, allocations: 11.94 kB / 1.128 GB, free: 31.61 MB / 0.7292 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 () * Number of clocked 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.0002481/0.9892, allocations: 0.7037 MB / 1.129 GB, free: 30.87 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.281e-05/0.9893, allocations: 16 kB / 1.129 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.9893, allocations: 5.156 kB / 1.129 GB, free: 30.85 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.521e-05/0.9893, allocations: 15.55 kB / 1.129 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.9895, allocations: 4.938 kB / 1.129 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007258/0.9902, allocations: 0.7587 MB / 1.129 GB, free: 30.07 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.9904, allocations: 0.6982 MB / 1.13 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.979e-05/0.9904, allocations: 8 kB / 1.13 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.074e-05/0.9904, allocations: 19.44 kB / 1.13 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of SimCode: time 3.11e-07/0.9904, allocations: 0 / 1.13 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/1.008, allocations: 1.593 MB / 1.132 GB, free: 28.46 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/1.008, allocations: 178.9 kB / 1.132 GB, free: 28.22 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/2.541, allocations: 6.953 kB / 1.132 GB, free: 28.22 MB / 0.7292 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)