Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_bar,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_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.692/2.692, allocations: 287.3 MB / 302.3 MB, free: 8.324 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.001638/0.001638, allocations: 193.8 kB / 370.8 MB, free: 10.85 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.135/2.135, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001164/0.001163, allocations: 90.91 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000492/0.0004922, allocations: 13.33 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2217, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001066/0.2228, allocations: 0.5366 MB / 0.9788 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001331/0.223, allocations: 43.78 kB / 0.9789 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.627e-05/0.2231, allocations: 4 kB / 0.9789 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.284e-05/0.2231, allocations: 7.922 kB / 0.9789 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.2232, allocations: 7.984 kB / 0.9789 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.973e-05/0.2233, allocations: 11.98 kB / 0.9789 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.116e-05/0.2234, allocations: 47.91 kB / 0.9789 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.2235, allocations: 29.56 kB / 0.979 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.798e-05/0.2236, allocations: 19.86 kB / 0.979 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.295e-05/0.2237, allocations: 27.78 kB / 0.979 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.2237, allocations: 11.94 kB / 0.979 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.064e-05/0.2237, allocations: 0 / 0.979 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.2238, allocations: 11.94 kB / 0.979 GB, free: 27.51 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.726e-05/0.2238, allocations: 33.7 kB / 0.9791 GB, free: 27.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.752e-05/0.2239, allocations: 60.08 kB / 0.9791 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.2239, allocations: 0 / 0.9791 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2239, allocations: 0 / 0.9791 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.2239, allocations: 0 / 0.9791 GB, free: 27.41 MB / 0.6198 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.0003857/0.2243, allocations: 371 kB / 0.9795 GB, free: 27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.2244, allocations: 23.95 kB / 0.9795 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.844e-05/0.2244, allocations: 38.55 kB / 0.9795 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.097e-05/0.2245, allocations: 11.91 kB / 0.9795 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.2247, allocations: 190.8 kB / 0.9797 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.2247, allocations: 8 kB / 0.9797 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.2247, allocations: 8 kB / 0.9797 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.2249, allocations: 91.33 kB / 0.9798 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.2249, allocations: 0 / 0.9798 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.2249, allocations: 8 kB / 0.9798 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.225, allocations: 4 kB / 0.9798 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.2251, allocations: 35.98 kB / 0.9799 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005849/0.2257, allocations: 448.5 kB / 0.9803 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.011e-05/0.2257, allocations: 41.16 kB / 0.9803 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.2258, allocations: 96 / 0.9803 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.2258, allocations: 38.62 kB / 0.9804 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.2258, allocations: 3.938 kB / 0.9804 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001922/0.226, allocations: 57.53 kB / 0.9804 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.226, allocations: 85.36 kB / 0.9805 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.2262, allocations: 161 kB / 0.9807 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.2262, allocations: 29.7 kB / 0.9807 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.583e-05/0.2263, allocations: 111.9 kB / 0.9808 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.797e-06/0.2263, allocations: 4 kB / 0.9808 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.2263, allocations: 0 / 0.9808 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.863e-05/0.2264, allocations: 326.8 kB / 0.9811 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.608e-05/0.2264, allocations: 4 kB / 0.9811 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.568e-05/0.2265, allocations: 25.7 kB / 0.9812 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.452e-05/0.2265, allocations: 11.94 kB / 0.9812 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2265, allocations: 3.953 kB / 0.9812 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001113/0.2267, allocations: 65.45 kB / 0.9812 GB, free: 25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.2267, allocations: 7.984 kB / 0.9812 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2267, allocations: 4 kB / 0.9812 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.2267, allocations: 0 / 0.9812 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.948e-05/0.2268, allocations: 4 kB / 0.9812 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.2268, allocations: 4.062 kB / 0.9812 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.003e-05/0.2269, allocations: 4 kB / 0.9813 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.2269, allocations: 0 / 0.9813 GB, free: 24.97 MB / 0.6198 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 7.219e-05/0.227, allocations: 117.8 kB / 0.9814 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.325e-05/0.2271, allocations: 11.86 kB / 0.9814 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.042e-05/0.2271, allocations: 16.55 kB / 0.9814 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2271, allocations: 0 / 0.9814 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2271, allocations: 4 kB / 0.9814 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2271, allocations: 0 / 0.9814 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003917/0.2275, allocations: 482.6 kB / 0.9819 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.2276, allocations: 11.98 kB / 0.9819 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.673e-05/0.2276, allocations: 0 / 0.9819 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.2276, allocations: 4 kB / 0.9819 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.2276, allocations: 96 / 0.9819 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.2276, allocations: 0 / 0.9819 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.2276, allocations: 3.984 kB / 0.9819 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.447e-05/0.2277, allocations: 99.62 kB / 0.982 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-05/0.2278, allocations: 93 kB / 0.9821 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.2278, allocations: 0 / 0.9821 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.967e-05/0.2279, allocations: 0 / 0.9821 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.997e-05/0.2279, allocations: 3.938 kB / 0.9821 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.2279, allocations: 8.031 kB / 0.9821 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001008/0.228, allocations: 132.2 kB / 0.9822 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2281, allocations: 0 / 0.9822 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002405/0.2283, allocations: 11.94 kB / 0.9822 GB, free: 23.88 MB / 0.6198 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.000293/0.2286, allocations: 0.6954 MB / 0.9829 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.472e-05/0.2287, allocations: 19.94 kB / 0.9829 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2287, allocations: 0 / 0.9829 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.277e-05/0.2288, allocations: 8 kB / 0.9829 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.2289, allocations: 15.84 kB / 0.9829 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.23, allocations: 0.7402 MB / 0.9837 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.2301, allocations: 0.6965 MB / 0.9843 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.621e-05/0.2302, allocations: 12.42 kB / 0.9843 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.261e-05/0.2302, allocations: 19.44 kB / 0.9844 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of SimCode: time 6.52e-07/0.2302, allocations: 4 kB / 0.9844 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02261/0.2529, allocations: 1.578 MB / 0.9859 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002269/0.2532, allocations: 189.4 kB / 0.9861 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.268/2.521, allocations: 3.938 kB / 0.9861 GB, free: 19.87 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1)