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.823/1.823, allocations: 289.9 MB / 297.4 MB, free: 6.387 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.001594/0.001595, allocations: 172.8 kB / 366.7 MB, free: 1.652 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.548/1.548, allocations: 205.3 MB / 0.626 GB, free: 7.172 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.0008845/0.0008843, allocations: 81.31 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.311e-05/2.32e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7622/0.7623, allocations: 116.3 MB / 0.9733 GB, free: 76.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.211/0.9733, allocations: 137.8 MB / 1.108 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003094/0.9737, allocations: 62.23 kB / 1.108 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003285/0.977, allocations: 1.161 MB / 1.109 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9771, allocations: 0.5625 kB / 1.109 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.9771, allocations: 6.094 kB / 1.109 GB, free: 11.1 MB / 0.7136 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.0004227/0.9775, allocations: 363.6 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.329e-05/0.9776, allocations: 15.53 kB / 1.109 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.378e-05/0.9777, allocations: 12.5 kB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.9779, allocations: 175 kB / 1.11 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.9779, allocations: 0.9375 kB / 1.11 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.9779, allocations: 11.92 kB / 1.11 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001088/0.978, allocations: 36.56 kB / 1.11 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.9782, allocations: 81.41 kB / 1.11 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.9782, allocations: 0.8125 kB / 1.11 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.9782, allocations: 4 kB / 1.11 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.9783, allocations: 0.5 kB / 1.11 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006003/0.9789, allocations: 425.2 kB / 1.11 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.368e-05/0.9789, allocations: 38.86 kB / 1.11 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.645e-05/0.979, allocations: 13.72 kB / 1.11 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.979, allocations: 4.594 kB / 1.11 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.9791, allocations: 35.72 kB / 1.11 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 5.2e-06/0.9791, allocations: 6.734 kB / 1.11 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001732/0.9792, allocations: 45.69 kB / 1.11 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.9793, allocations: 78.17 kB / 1.11 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.9795, allocations: 132 kB / 1.111 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.9795, allocations: 25.7 kB / 1.111 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.828e-05/0.9796, allocations: 108.1 kB / 1.111 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.396e-06/0.9796, allocations: 7.906 kB / 1.111 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.9796, allocations: 1.438 kB / 1.111 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.9798, allocations: 318.8 kB / 1.111 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.055e-05/0.9798, allocations: 4 kB / 1.111 GB, free: 9 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.385e-05/0.9798, allocations: 26.88 kB / 1.111 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.612e-05/0.9798, allocations: 9.188 kB / 1.111 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.9799, allocations: 0 / 1.111 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.533e-05/0.9799, allocations: 54.47 kB / 1.111 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.98, allocations: 7.953 kB / 1.111 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.98, allocations: 6.5 kB / 1.111 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.98, allocations: 0 / 1.111 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.342e-05/0.9801, allocations: 11.22 kB / 1.111 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.9801, allocations: 2.109 kB / 1.111 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.056e-05/0.9801, allocations: 9.812 kB / 1.111 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.9802, allocations: 6.75 kB / 1.111 GB, free: 8.871 MB / 0.7136 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 9.087e-05/0.9802, allocations: 104.6 kB / 1.111 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.272e-05/0.9803, allocations: 49.53 kB / 1.111 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.9804, allocations: 11.86 kB / 1.111 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.3e-05/0.9804, allocations: 11.97 kB / 1.111 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.9804, allocations: 0 / 1.111 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.9805, allocations: 0 / 1.111 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.9805, allocations: 0 / 1.111 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004964/0.981, allocations: 454.3 kB / 1.112 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.981, allocations: 0 / 1.112 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.803e-05/0.981, allocations: 7.938 kB / 1.112 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.981, allocations: 0 / 1.112 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.981, allocations: 3.984 kB / 1.112 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.981, allocations: 256 / 1.112 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.9811, allocations: 4 kB / 1.112 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.9812, allocations: 83.58 kB / 1.112 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.913e-05/0.9812, allocations: 93 kB / 1.112 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.9813, allocations: 0 / 1.112 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.154e-05/0.9813, allocations: 4 kB / 1.112 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.844e-05/0.9813, allocations: 7.031 kB / 1.112 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.9813, allocations: 0 / 1.112 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.106e-05/0.9814, allocations: 104.4 kB / 1.112 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9814, allocations: 0 / 1.112 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001753/0.9816, allocations: 8 kB / 1.112 GB, free: 7.84 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.0005081/0.9821, allocations: 0.6953 MB / 1.113 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.65e-05/0.9822, allocations: 16 kB / 1.113 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9822, allocations: 0 / 1.113 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.621e-05/0.9822, allocations: 12.16 kB / 1.113 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.9824, allocations: 11.41 kB / 1.113 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004171/0.9828, allocations: 153.2 kB / 1.113 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.9832, allocations: 0.697 MB / 1.114 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.359e-05/0.9832, allocations: 4.188 kB / 1.114 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.36e-05/0.9833, allocations: 19.42 kB / 1.114 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.9833, allocations: 0 / 1.114 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02565/1.009, allocations: 0.9894 MB / 1.115 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002442/1.009, allocations: 146.1 kB / 1.115 GB, free: 5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.647/2.656, allocations: 4.031 kB / 1.115 GB, free: 4.996 MB / 0.7136 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)