Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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.To_gal,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.494/1.494, allocations: 252 MB / 267.3 MB, free: 10.84 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.00111/0.00111, allocations: 171 kB / 327 MB, free: 2.113 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.171/2.171, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.0008094/0.0008099, allocations: 78.38 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003987/0.0003988, allocations: 12 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3166, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.00145/0.3181, allocations: 0.5847 MB / 0.9015 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001423/0.3183, allocations: 39.78 kB / 0.9015 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.227e-05/0.3184, allocations: 0 / 0.9015 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.924e-05/0.3184, allocations: 7.922 kB / 0.9015 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.3185, allocations: 11.94 kB / 0.9016 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.712e-05/0.3186, allocations: 19.98 kB / 0.9016 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.3187, allocations: 63.78 kB / 0.9016 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.3189, allocations: 37.39 kB / 0.9017 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.423e-05/0.319, allocations: 19.88 kB / 0.9017 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.616e-05/0.3191, allocations: 27.78 kB / 0.9017 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.3191, allocations: 0 / 0.9017 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.059e-05/0.3191, allocations: 7.938 kB / 0.9017 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.3192, allocations: 7.922 kB / 0.9017 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.039e-05/0.3192, allocations: 57.45 kB / 0.9018 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.3193, allocations: 71.67 kB / 0.9019 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3193, allocations: 0 / 0.9019 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3193, allocations: 0 / 0.9019 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.3194, allocations: 8 kB / 0.9019 GB, free: 62.43 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.0004491/0.3198, allocations: 367.5 kB / 0.9022 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/0.3199, allocations: 8.031 kB / 0.9022 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.589e-05/0.3199, allocations: 38.75 kB / 0.9023 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.997e-05/0.32, allocations: 24.73 kB / 0.9023 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.3202, allocations: 196.1 kB / 0.9025 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.3203, allocations: 4.375 kB / 0.9025 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.3203, allocations: 8.375 kB / 0.9025 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.3205, allocations: 95.94 kB / 0.9026 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3205, allocations: 7.938 kB / 0.9026 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.3205, allocations: 0 / 0.9026 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.3205, allocations: 0 / 0.9026 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.718e-05/0.3206, allocations: 47.86 kB / 0.9026 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005901/0.3212, allocations: 444.5 kB / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.907e-05/0.3213, allocations: 45.34 kB / 0.9031 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.307e-05/0.3213, allocations: 13.78 kB / 0.9031 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.3214, allocations: 0 / 0.9031 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.3214, allocations: 38.56 kB / 0.9031 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.3214, allocations: 0 / 0.9031 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.000225/0.3216, allocations: 61.47 kB / 0.9032 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.3217, allocations: 77.11 kB / 0.9033 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.3218, allocations: 166.2 kB / 0.9034 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.3219, allocations: 33.7 kB / 0.9035 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.686e-05/0.3219, allocations: 107.9 kB / 0.9036 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.291e-05/0.322, allocations: 12.16 kB / 0.9036 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.322, allocations: 3.938 kB / 0.9036 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.3221, allocations: 322.8 kB / 0.9039 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.897e-05/0.3221, allocations: 7.938 kB / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.556e-05/0.3221, allocations: 17.72 kB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.036e-05/0.3222, allocations: 33.7 kB / 0.9039 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3222, allocations: 4 kB / 0.9039 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.832e-05/0.3223, allocations: 57.55 kB / 0.904 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.3223, allocations: 11.94 kB / 0.904 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.3223, allocations: 0 / 0.904 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.3224, allocations: 0 / 0.904 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.067e-05/0.3224, allocations: 7.984 kB / 0.904 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.3225, allocations: 4 kB / 0.904 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.458e-05/0.3225, allocations: 3.938 kB / 0.904 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.3225, allocations: 4 kB / 0.904 GB, free: 59.93 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 8.954e-05/0.3226, allocations: 117.9 kB / 0.9041 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.142e-05/0.3227, allocations: 15.75 kB / 0.9042 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.371e-05/0.3227, allocations: 16.55 kB / 0.9042 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.3227, allocations: 0 / 0.9042 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.3227, allocations: 0 / 0.9042 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3227, allocations: 3.938 kB / 0.9042 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004041/0.3231, allocations: 470.8 kB / 0.9046 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3231, allocations: 4.062 kB / 0.9046 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.451e-05/0.3232, allocations: 7.938 kB / 0.9046 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.3232, allocations: 0 / 0.9046 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.3232, allocations: 3.984 kB / 0.9046 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3232, allocations: 0 / 0.9046 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3232, allocations: 4 kB / 0.9046 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.658e-05/0.3233, allocations: 85.78 kB / 0.9047 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.021e-05/0.3234, allocations: 89 kB / 0.9048 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.3234, allocations: 0 / 0.9048 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.577e-05/0.3234, allocations: 4 kB / 0.9048 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/0.3235, allocations: 8 kB / 0.9048 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.3235, allocations: 0 / 0.9048 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.102e-05/0.3236, allocations: 128.8 kB / 0.905 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3236, allocations: 0 / 0.905 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001728/0.3238, allocations: 8 kB / 0.905 GB, free: 58.88 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.000374/0.3241, allocations: 0.6249 MB / 0.9056 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.711e-05/0.3242, allocations: 23.92 kB / 0.9056 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3242, allocations: 4 kB / 0.9056 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.159e-05/0.3243, allocations: 8.156 kB / 0.9056 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.3244, allocations: 7.938 kB / 0.9056 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.3255, allocations: 1.395 MB / 0.907 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/0.3257, allocations: 0.6926 MB / 0.9076 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.586e-05/0.3257, allocations: 12.42 kB / 0.9077 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.37e-05/0.3258, allocations: 19.44 kB / 0.9077 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of SimCode: time 1.91e-07/0.3258, allocations: 4 kB / 0.9077 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01206/0.3378, allocations: 1.468 MB / 0.9091 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/0.3381, allocations: 215.3 kB / 0.9093 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/2.08, allocations: 3.938 kB / 0.9093 GB, free: 54.36 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1)