Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.602/1.602, allocations: 288.2 MB / 303.2 MB, free: 8.195 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.001097/0.001097, allocations: 183.6 kB / 371.8 MB, free: 10.27 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.49/1.49, allocations: 205.4 MB / 0.6305 GB, free: 10 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.0008645/0.0008646, allocations: 98.86 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004101/0.0004102, allocations: 15.41 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2443, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.0009782/0.2453, allocations: 0.5329 MB / 0.98 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001036/0.2454, allocations: 47.8 kB / 0.98 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.32e-05/0.2455, allocations: 0 / 0.98 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.895e-05/0.2455, allocations: 7.922 kB / 0.9801 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.2456, allocations: 7.984 kB / 0.9801 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.472e-05/0.2457, allocations: 15.98 kB / 0.9801 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.086e-05/0.2458, allocations: 35.91 kB / 0.9801 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.2459, allocations: 37.56 kB / 0.9801 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.687e-05/0.246, allocations: 19.86 kB / 0.9802 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.699e-05/0.246, allocations: 23.8 kB / 0.9802 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.246, allocations: 7.938 kB / 0.9802 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.777e-06/0.2461, allocations: 0 / 0.9802 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.36e-05/0.2461, allocations: 7.984 kB / 0.9802 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.654e-05/0.2461, allocations: 37.64 kB / 0.9802 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.508e-05/0.2462, allocations: 68.08 kB / 0.9803 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2462, allocations: 0 / 0.9803 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2462, allocations: 0 / 0.9803 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.2462, allocations: 0 / 0.9803 GB, free: 26.75 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.0003489/0.2466, allocations: 371.5 kB / 0.9807 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.2467, allocations: 12.02 kB / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.471e-05/0.2467, allocations: 38.55 kB / 0.9807 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.2467, allocations: 15.91 kB / 0.9807 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.2469, allocations: 202.7 kB / 0.9809 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.943e-06/0.2469, allocations: 0 / 0.9809 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.247, allocations: 12 kB / 0.9809 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.2471, allocations: 97.03 kB / 0.981 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.2471, allocations: 0 / 0.981 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.2472, allocations: 0 / 0.981 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.2472, allocations: 7.984 kB / 0.981 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.91e-05/0.2472, allocations: 35.98 kB / 0.9811 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004582/0.2477, allocations: 452.5 kB / 0.9815 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.891e-05/0.2478, allocations: 41.11 kB / 0.9815 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.2478, allocations: 0 / 0.9815 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/0.2478, allocations: 42.72 kB / 0.9816 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.2478, allocations: 0 / 0.9816 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001692/0.248, allocations: 53.59 kB / 0.9816 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.248, allocations: 85.05 kB / 0.9817 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.2482, allocations: 165.9 kB / 0.9819 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.313e-06/0.2482, allocations: 25.7 kB / 0.9819 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.723e-05/0.2482, allocations: 116.1 kB / 0.982 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.522e-06/0.2482, allocations: 0 / 0.982 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.2482, allocations: 0 / 0.982 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.62e-05/0.2483, allocations: 326.8 kB / 0.9823 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.828e-05/0.2483, allocations: 8 kB / 0.9823 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.051e-05/0.2484, allocations: 25.64 kB / 0.9823 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.311e-05/0.2484, allocations: 4 kB / 0.9823 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.2484, allocations: 4 kB / 0.9823 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.037e-05/0.2485, allocations: 69.41 kB / 0.9824 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.2485, allocations: 8 kB / 0.9824 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2485, allocations: 0 / 0.9824 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.2485, allocations: 0 / 0.9824 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.447e-05/0.2486, allocations: 7.984 kB / 0.9824 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.138e-06/0.2486, allocations: 4 kB / 0.9824 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.072e-05/0.2487, allocations: 0 / 0.9824 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.2487, allocations: 0 / 0.9824 GB, free: 24.31 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 6.854e-05/0.2488, allocations: 117.9 kB / 0.9825 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.205e-05/0.2488, allocations: 19.86 kB / 0.9826 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.238e-05/0.2488, allocations: 12.55 kB / 0.9826 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2488, allocations: 4 kB / 0.9826 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2488, allocations: 0 / 0.9826 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.2488, allocations: 3.938 kB / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.2491, allocations: 482.7 kB / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2492, allocations: 8 kB / 0.9831 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.239e-05/0.2492, allocations: 7.938 kB / 0.9831 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.2492, allocations: 0 / 0.9831 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.2492, allocations: 3.984 kB / 0.9831 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2492, allocations: 0 / 0.9831 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2492, allocations: 0 / 0.9831 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.519e-05/0.2493, allocations: 95.58 kB / 0.9832 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.545e-05/0.2493, allocations: 89 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.2494, allocations: 0 / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.411e-05/0.2494, allocations: 0 / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.761e-05/0.2494, allocations: 0 / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-06/0.2494, allocations: 4 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.081e-05/0.2495, allocations: 132.8 kB / 0.9834 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2495, allocations: 0 / 0.9834 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001767/0.2497, allocations: 8 kB / 0.9834 GB, free: 23.22 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.0002438/0.2499, allocations: 0.7031 MB / 0.9841 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.813e-05/0.25, allocations: 23.92 kB / 0.9841 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.25, allocations: 4.156 kB / 0.9841 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.057e-05/0.25, allocations: 7.938 kB / 0.9841 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.2502, allocations: 8.859 kB / 0.9841 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007902/0.251, allocations: 0.7304 MB / 0.9848 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.2511, allocations: 0.7004 MB / 0.9855 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.893e-05/0.2512, allocations: 8.422 kB / 0.9855 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.555e-05/0.2512, allocations: 19.44 kB / 0.9855 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of SimCode: time 2.7e-07/0.2512, allocations: 0 / 0.9855 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0117/0.263, allocations: 1.582 MB / 0.9871 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001356/0.2631, allocations: 208.2 kB / 0.9873 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.527/1.79, allocations: 0 / 0.9873 GB, free: 19.24 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1)