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_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.From_gal,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.677/1.677, allocations: 252 MB / 267.3 MB, free: 10.86 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.001041/0.001041, allocations: 174.7 kB / 327 MB, free: 2.121 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.16 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.0008368/0.0008367, allocations: 90.33 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003955/0.0003956, allocations: 13.28 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.314, allocations: 106.3 MB / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001486/0.3156, allocations: 0.5808 MB / 0.9015 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002056/0.3159, allocations: 39.78 kB / 0.9015 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.316, allocations: 8 kB / 0.9015 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.585e-05/0.316, allocations: 7.922 kB / 0.9015 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.3162, allocations: 7.938 kB / 0.9015 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.629e-05/0.3163, allocations: 15.98 kB / 0.9016 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000128/0.3164, allocations: 67.77 kB / 0.9016 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001972/0.3166, allocations: 41.38 kB / 0.9017 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.464e-05/0.3167, allocations: 19.88 kB / 0.9017 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.443e-05/0.3168, allocations: 23.8 kB / 0.9017 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.3168, allocations: 0 / 0.9017 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.328e-05/0.3168, allocations: 4 kB / 0.9017 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.524e-05/0.3169, allocations: 11.86 kB / 0.9017 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.999e-05/0.3169, allocations: 57.45 kB / 0.9018 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.3171, allocations: 71.67 kB / 0.9018 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3171, allocations: 4 kB / 0.9018 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.206e-06/0.3171, allocations: 4 kB / 0.9018 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.3171, allocations: 0 / 0.9018 GB, free: 62.45 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.0005293/0.3177, allocations: 371.5 kB / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.026e-05/0.3178, allocations: 8.031 kB / 0.9022 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.141e-05/0.3178, allocations: 38.75 kB / 0.9022 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.897e-05/0.3179, allocations: 16.73 kB / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.3181, allocations: 197.4 kB / 0.9025 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.3182, allocations: 12.38 kB / 0.9025 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.3182, allocations: 4.375 kB / 0.9025 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.3184, allocations: 95.94 kB / 0.9026 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.3185, allocations: 3.938 kB / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.3185, allocations: 0 / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.3185, allocations: 0 / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.3186, allocations: 47.86 kB / 0.9026 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007105/0.3194, allocations: 448.6 kB / 0.903 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.856e-05/0.3195, allocations: 45.25 kB / 0.9031 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.7e-05/0.3195, allocations: 17.78 kB / 0.9031 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.3195, allocations: 4 kB / 0.9031 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.3196, allocations: 30.56 kB / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 2.244e-06/0.3196, allocations: 0 / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002452/0.3198, allocations: 61.47 kB / 0.9032 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.3199, allocations: 77.11 kB / 0.9033 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.3201, allocations: 174.2 kB / 0.9034 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.3201, allocations: 25.95 kB / 0.9035 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.429e-05/0.3202, allocations: 111.9 kB / 0.9036 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.031e-05/0.3202, allocations: 3.906 kB / 0.9036 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-06/0.3202, allocations: 0 / 0.9036 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.755e-05/0.3203, allocations: 322.8 kB / 0.9039 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.822e-05/0.3203, allocations: 11.94 kB / 0.9039 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.051e-05/0.3204, allocations: 21.66 kB / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.041e-05/0.3204, allocations: 33.7 kB / 0.9039 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3204, allocations: 0 / 0.9039 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001093/0.3206, allocations: 57.55 kB / 0.904 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.3206, allocations: 14.44 kB / 0.904 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.3206, allocations: 3.984 kB / 0.904 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.3206, allocations: 0 / 0.904 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.3207, allocations: 15.98 kB / 0.904 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3208, allocations: 0 / 0.904 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.033e-05/0.3208, allocations: 3.938 kB / 0.904 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.3208, allocations: 8.062 kB / 0.904 GB, free: 59.95 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 9.993e-05/0.3209, allocations: 113.8 kB / 0.9041 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-05/0.321, allocations: 15.75 kB / 0.9042 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.176e-05/0.3211, allocations: 16.55 kB / 0.9042 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3211, allocations: 0 / 0.9042 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3211, allocations: 0 / 0.9042 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3211, allocations: 0 / 0.9042 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004572/0.3216, allocations: 478.8 kB / 0.9046 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3216, allocations: 0 / 0.9046 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.562e-05/0.3216, allocations: 11.94 kB / 0.9046 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3216, allocations: 3.984 kB / 0.9046 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.3217, allocations: 0 / 0.9046 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3217, allocations: 0 / 0.9046 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3217, allocations: 4 kB / 0.9046 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.894e-05/0.3218, allocations: 77.91 kB / 0.9047 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.564e-05/0.3219, allocations: 93 kB / 0.9048 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.3219, allocations: 3.938 kB / 0.9048 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.769e-05/0.3219, allocations: 0 / 0.9048 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.945e-05/0.322, allocations: 8.078 kB / 0.9048 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.322, allocations: 0 / 0.9048 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001007/0.3221, allocations: 128.9 kB / 0.9049 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3221, allocations: 0 / 0.9049 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003281/0.3224, allocations: 12.03 kB / 0.905 GB, free: 58.89 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.0003626/0.3228, allocations: 0.6208 MB / 0.9056 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000112/0.3229, allocations: 23.92 kB / 0.9056 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3229, allocations: 8.094 kB / 0.9056 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.802e-05/0.323, allocations: 4 kB / 0.9056 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.3233, allocations: 11.94 kB / 0.9056 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.3246, allocations: 1.395 MB / 0.907 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.3248, allocations: 0.6926 MB / 0.9076 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.57e-05/0.3249, allocations: 8.422 kB / 0.9077 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.442e-05/0.3249, allocations: 27.42 kB / 0.9077 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of SimCode: time 4.41e-07/0.3249, allocations: 0 / 0.9077 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01411/0.3391, allocations: 1.47 MB / 0.9091 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002438/0.3394, allocations: 223.1 kB / 0.9093 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/2.059, allocations: 0 / 0.9093 GB, free: 54.39 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1)