Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.352/1.352, allocations: 251.5 MB / 266.7 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009605/0.0009605, allocations: 183.4 kB / 325.8 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205 MB / 0.576 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008596/0.0008596, allocations: 85.23 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002945/0.0002946, allocations: 15.83 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1496, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.0008233/0.1504, allocations: 0.5998 MB / 0.8968 GB, free: 67.47 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001077/0.1506, allocations: 43.72 kB / 0.8968 GB, free: 67.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.421e-05/0.1506, allocations: 0 / 0.8968 GB, free: 67.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.922e-05/0.1507, allocations: 7.938 kB / 0.8968 GB, free: 67.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.049e-05/0.1508, allocations: 15.91 kB / 0.8969 GB, free: 67.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.686e-05/0.1508, allocations: 19.98 kB / 0.8969 GB, free: 67.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.493e-05/0.1509, allocations: 63.78 kB / 0.8969 GB, free: 67.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.151, allocations: 45.59 kB / 0.897 GB, free: 67.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.858e-05/0.1511, allocations: 19.88 kB / 0.897 GB, free: 67.25 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.698e-05/0.1511, allocations: 23.8 kB / 0.897 GB, free: 67.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.1511, allocations: 4 kB / 0.897 GB, free: 67.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.145e-06/0.1512, allocations: 3.938 kB / 0.897 GB, free: 67.22 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.1512, allocations: 11.92 kB / 0.897 GB, free: 67.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.865e-05/0.1512, allocations: 27.75 kB / 0.8971 GB, free: 67.18 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.742e-05/0.1513, allocations: 71.73 kB / 0.8971 GB, free: 67.11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1513, allocations: 0 / 0.8971 GB, free: 67.11 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.144e-06/0.1513, allocations: 0 / 0.8971 GB, free: 67.11 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.1513, allocations: 7.938 kB / 0.8971 GB, free: 67.11 MB / 0.6042 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.0002919/0.1516, allocations: 371.2 kB / 0.8975 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.1517, allocations: 12.03 kB / 0.8975 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.055e-05/0.1517, allocations: 34.75 kB / 0.8975 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.65e-05/0.1517, allocations: 16.75 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.1519, allocations: 196.2 kB / 0.8977 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.1519, allocations: 4.375 kB / 0.8977 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.739e-06/0.1519, allocations: 8.375 kB / 0.8978 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.152, allocations: 100.7 kB / 0.8979 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.1521, allocations: 3.938 kB / 0.8979 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.1521, allocations: 0 / 0.8979 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1521, allocations: 4 kB / 0.8979 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.369e-05/0.1521, allocations: 43.91 kB / 0.8979 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.1525, allocations: 440.6 kB / 0.8983 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.036e-05/0.1526, allocations: 41.14 kB / 0.8984 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.206e-05/0.1526, allocations: 17.88 kB / 0.8984 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.248e-06/0.1526, allocations: 0 / 0.8984 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.324e-05/0.1527, allocations: 42.56 kB / 0.8984 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.1527, allocations: 0 / 0.8984 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001659/0.1528, allocations: 57.48 kB / 0.8985 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.053e-05/0.1529, allocations: 77.11 kB / 0.8985 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.153, allocations: 170.2 kB / 0.8987 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.742e-06/0.153, allocations: 29.7 kB / 0.8987 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.9e-05/0.153, allocations: 111.9 kB / 0.8988 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.562e-06/0.153, allocations: 4.156 kB / 0.8988 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.777e-05/0.1531, allocations: 17.72 kB / 0.8989 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.93e-05/0.1531, allocations: 322.8 kB / 0.8992 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.628e-05/0.1531, allocations: 8 kB / 0.8992 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.824e-05/0.1532, allocations: 17.72 kB / 0.8992 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.686e-05/0.1532, allocations: 33.64 kB / 0.8992 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1532, allocations: 4 kB / 0.8992 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.138e-05/0.1533, allocations: 61.55 kB / 0.8993 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.1533, allocations: 7.938 kB / 0.8993 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1533, allocations: 0 / 0.8993 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.1533, allocations: 7.938 kB / 0.8993 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.176e-05/0.1534, allocations: 11.92 kB / 0.8993 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1534, allocations: 0 / 0.8993 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.254e-05/0.1534, allocations: 7.938 kB / 0.8993 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.1535, allocations: 0 / 0.8993 GB, free: 64.59 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.03e-05/0.1535, allocations: 117.9 kB / 0.8994 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.053e-05/0.1536, allocations: 15.75 kB / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.084e-05/0.1536, allocations: 12.56 kB / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.1536, allocations: 0 / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1536, allocations: 3.984 kB / 0.8995 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1536, allocations: 4 kB / 0.8995 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.1539, allocations: 470.8 kB / 0.8999 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1539, allocations: 8.062 kB / 0.8999 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.319e-05/0.1539, allocations: 0 / 0.8999 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.1539, allocations: 4 kB / 0.8999 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.1539, allocations: 4 kB / 0.8999 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.1539, allocations: 7.984 kB / 0.8999 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1539, allocations: 0 / 0.8999 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.812e-05/0.154, allocations: 85.78 kB / 0.9 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.728e-05/0.154, allocations: 89.09 kB / 0.9001 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.154, allocations: 7.984 kB / 0.9001 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.345e-05/0.1541, allocations: 0 / 0.9001 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.274e-05/0.1541, allocations: 0 / 0.9001 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-06/0.1541, allocations: 0 / 0.9001 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.888e-05/0.1542, allocations: 128.9 kB / 0.9002 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1542, allocations: 0 / 0.9002 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001666/0.1543, allocations: 8 kB / 0.9002 GB, free: 63.54 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002062/0.1546, allocations: 0.6259 MB / 0.9009 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.584e-05/0.1546, allocations: 19.98 kB / 0.9009 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1546, allocations: 0 / 0.9009 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.287e-05/0.1547, allocations: 12.09 kB / 0.9009 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.1548, allocations: 10.81 kB / 0.9009 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008077/0.1556, allocations: 1.404 MB / 0.9023 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.732e-05/0.1557, allocations: 0.6926 MB / 0.9029 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3e-05/0.1558, allocations: 8.422 kB / 0.903 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.606e-05/0.1558, allocations: 23.44 kB / 0.903 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/0.1558, allocations: 0 / 0.903 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1264/0.2822, allocations: 1.473 MB / 0.9044 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001512/0.2824, allocations: 232 kB / 0.9046 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.519/1.801, allocations: 0 / 0.9046 GB, free: 59.02 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1)