Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_gal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_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.605/1.605, allocations: 288.2 MB / 303.2 MB, free: 8.141 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.00118/0.00118, allocations: 182.7 kB / 371.8 MB, free: 10.23 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.611/1.611, 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.0009821/0.0009821, allocations: 90.92 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004553/0.0004554, allocations: 19.72 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.253, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001171/0.2542, allocations: 0.5252 MB / 0.98 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001267/0.2543, allocations: 47.72 kB / 0.98 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.934e-05/0.2544, allocations: 4 kB / 0.98 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.312e-05/0.2544, allocations: 3.938 kB / 0.9801 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.2546, allocations: 3.984 kB / 0.9801 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 5.049e-05/0.2546, allocations: 15.98 kB / 0.9801 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.47e-05/0.2547, allocations: 39.89 kB / 0.9801 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.2549, allocations: 37.56 kB / 0.9801 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.789e-05/0.255, allocations: 15.88 kB / 0.9802 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.102e-05/0.255, allocations: 31.78 kB / 0.9802 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.2551, allocations: 0 / 0.9802 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.169e-05/0.2551, allocations: 4 kB / 0.9802 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.2551, allocations: 3.938 kB / 0.9802 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.223e-05/0.2551, allocations: 41.64 kB / 0.9802 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.565e-05/0.2552, allocations: 64.08 kB / 0.9803 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2553, allocations: 0 / 0.9803 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.224e-06/0.2553, allocations: 0 / 0.9803 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.2553, allocations: 0 / 0.9803 GB, free: 26.73 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.0004293/0.2557, allocations: 375 kB / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.2558, allocations: 12.02 kB / 0.9807 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.642e-05/0.2558, allocations: 38.56 kB / 0.9807 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.651e-05/0.2559, allocations: 15.91 kB / 0.9807 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.2561, allocations: 202 kB / 0.9809 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.2561, allocations: 4 kB / 0.9809 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.2562, allocations: 8 kB / 0.9809 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.2564, allocations: 87.39 kB / 0.981 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2564, allocations: 3.938 kB / 0.981 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.2564, allocations: 7.922 kB / 0.981 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.2564, allocations: 4 kB / 0.981 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.144e-05/0.2565, allocations: 39.98 kB / 0.9811 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005784/0.2571, allocations: 444.6 kB / 0.9815 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.962e-05/0.2572, allocations: 41.11 kB / 0.9815 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.2572, allocations: 4 kB / 0.9815 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.2572, allocations: 38.69 kB / 0.9816 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.124e-06/0.2573, allocations: 0 / 0.9816 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002116/0.2575, allocations: 57.55 kB / 0.9816 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.2575, allocations: 81.05 kB / 0.9817 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.2577, allocations: 170.2 kB / 0.9819 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.597e-06/0.2577, allocations: 29.7 kB / 0.9819 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.723e-05/0.2578, allocations: 115.9 kB / 0.982 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.695e-06/0.2578, allocations: 0 / 0.982 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.2578, allocations: 0 / 0.982 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.93e-05/0.2579, allocations: 326.8 kB / 0.9823 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.326e-05/0.2579, allocations: 8 kB / 0.9823 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.65e-05/0.2579, allocations: 25.64 kB / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.076e-05/0.258, allocations: 16 kB / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.258, allocations: 0 / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.69e-05/0.2581, allocations: 65.39 kB / 0.9824 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.2581, allocations: 9.562 kB / 0.9824 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.2581, allocations: 0 / 0.9824 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.2581, allocations: 0 / 0.9824 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.022e-05/0.2582, allocations: 4 kB / 0.9824 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.2582, allocations: 4 kB / 0.9824 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.163e-05/0.2583, allocations: 4 kB / 0.9824 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.2583, allocations: 4.062 kB / 0.9824 GB, free: 24.28 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.187e-05/0.2584, allocations: 122.3 kB / 0.9826 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.548e-05/0.2584, allocations: 11.86 kB / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.907e-05/0.2585, allocations: 8.562 kB / 0.9826 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2585, allocations: 4 kB / 0.9826 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2585, allocations: 0 / 0.9826 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2585, allocations: 0 / 0.9826 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003707/0.2589, allocations: 490.6 kB / 0.9831 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2589, allocations: 0 / 0.9831 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.878e-05/0.2589, allocations: 4 kB / 0.9831 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.259, allocations: 0 / 0.9831 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.259, allocations: 3.938 kB / 0.9831 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.259, allocations: 0 / 0.9831 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.259, allocations: 7.938 kB / 0.9831 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.2591, allocations: 95.62 kB / 0.9832 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.74e-05/0.2592, allocations: 89 kB / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.2592, allocations: 0 / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.334e-05/0.2592, allocations: 4 kB / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.452e-05/0.2593, allocations: 4 kB / 0.9833 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.2593, allocations: 0 / 0.9833 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.568e-05/0.2594, allocations: 124.9 kB / 0.9834 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2594, allocations: 32 / 0.9834 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002706/0.2596, allocations: 12 kB / 0.9834 GB, free: 23.2 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.0003119/0.26, allocations: 0.703 MB / 0.9841 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.104e-05/0.2601, allocations: 23.97 kB / 0.9841 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.2601, allocations: 0 / 0.9841 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-05/0.2601, allocations: 11.92 kB / 0.9841 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.2603, allocations: 8.75 kB / 0.9841 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000951/0.2612, allocations: 0.7305 MB / 0.9848 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001743/0.2614, allocations: 0.7004 MB / 0.9855 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.359e-05/0.2615, allocations: 8.422 kB / 0.9855 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.405e-05/0.2615, allocations: 19.44 kB / 0.9855 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of SimCode: time 2.91e-07/0.2615, allocations: 0 / 0.9855 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0122/0.2737, allocations: 1.589 MB / 0.9871 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/0.2739, allocations: 193 kB / 0.9873 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.476/1.749, allocations: 6.953 kB / 0.9873 GB, free: 19.23 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1)