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_inH2O.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_inH2O,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",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.604/1.604, allocations: 251.9 MB / 266.8 MB, free: 11.04 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.001215/0.001216, allocations: 187.4 kB / 326.5 MB, free: 2.23 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.269/2.269, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.0009911/0.000991, allocations: 95.66 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003291/0.0003294, allocations: 9.156 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2168, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001255/0.2182, allocations: 0.5602 MB / 0.9007 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001473/0.2184, allocations: 49.05 kB / 0.9007 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.822e-05/0.2184, allocations: 0 / 0.9007 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.348e-05/0.2185, allocations: 3.938 kB / 0.9007 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.2186, allocations: 15.97 kB / 0.9008 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.23e-05/0.2186, allocations: 8 kB / 0.9008 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.426e-05/0.2187, allocations: 43.89 kB / 0.9008 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.2189, allocations: 29.58 kB / 0.9008 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.084e-05/0.2189, allocations: 27.84 kB / 0.9009 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.997e-05/0.219, allocations: 19.86 kB / 0.9009 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.219, allocations: 4 kB / 0.9009 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.085e-06/0.219, allocations: 0 / 0.9009 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.2191, allocations: 7.938 kB / 0.9009 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.347e-05/0.2191, allocations: 37.64 kB / 0.9009 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.864e-05/0.2192, allocations: 59.86 kB / 0.901 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.2192, allocations: 0 / 0.901 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.344e-06/0.2192, allocations: 4 kB / 0.901 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.2192, allocations: 0 / 0.901 GB, free: 62.98 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.0003616/0.2196, allocations: 367.4 kB / 0.9013 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.2196, allocations: 12.03 kB / 0.9014 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.875e-05/0.2197, allocations: 38.5 kB / 0.9014 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.2197, allocations: 15.81 kB / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.2199, allocations: 198.8 kB / 0.9016 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.2199, allocations: 4 kB / 0.9016 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.22, allocations: 12 kB / 0.9016 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.2201, allocations: 95.3 kB / 0.9017 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.2202, allocations: 3.938 kB / 0.9017 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.2202, allocations: 3.984 kB / 0.9017 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.2202, allocations: 4 kB / 0.9017 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.764e-05/0.2203, allocations: 39.97 kB / 0.9018 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000572/0.2208, allocations: 444.8 kB / 0.9022 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.439e-05/0.2209, allocations: 45.14 kB / 0.9022 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-06/0.2209, allocations: 0 / 0.9022 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.221, allocations: 34.56 kB / 0.9023 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.221, allocations: 4 kB / 0.9023 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.00023/0.2212, allocations: 57.45 kB / 0.9023 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.2213, allocations: 85.11 kB / 0.9024 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.2214, allocations: 170.1 kB / 0.9026 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.2214, allocations: 25.7 kB / 0.9026 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.782e-05/0.2215, allocations: 108 kB / 0.9027 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.753e-06/0.2215, allocations: 4.156 kB / 0.9027 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.2215, allocations: 4 kB / 0.9027 GB, free: 61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.037e-05/0.2216, allocations: 322.8 kB / 0.903 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.662e-05/0.2216, allocations: 8 kB / 0.903 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.879e-05/0.2216, allocations: 17.72 kB / 0.903 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.531e-05/0.2216, allocations: 8 kB / 0.903 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2217, allocations: 0 / 0.903 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.991e-05/0.2217, allocations: 69.48 kB / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.2217, allocations: 6.969 kB / 0.9031 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2218, allocations: 0 / 0.9031 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.2218, allocations: 4 kB / 0.9031 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.876e-05/0.2219, allocations: 8 kB / 0.9031 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.2219, allocations: 0 / 0.9031 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.209e-05/0.2219, allocations: 15.84 kB / 0.9031 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.2219, allocations: 0 / 0.9031 GB, free: 60.54 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.16e-05/0.222, allocations: 121.8 kB / 0.9032 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.222, allocations: 15.92 kB / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.31e-05/0.2221, allocations: 8.562 kB / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2221, allocations: 0 / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.2221, allocations: 4 kB / 0.9033 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2221, allocations: 0 / 0.9033 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/0.2224, allocations: 478.8 kB / 0.9037 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2224, allocations: 4 kB / 0.9037 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.107e-05/0.2224, allocations: 64 / 0.9037 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.2224, allocations: 8 kB / 0.9037 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.2224, allocations: 0 / 0.9037 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2224, allocations: 3.938 kB / 0.9037 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2224, allocations: 0 / 0.9037 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.653e-05/0.2225, allocations: 99.56 kB / 0.9038 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.235e-05/0.2225, allocations: 96.94 kB / 0.9039 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.2226, allocations: 0 / 0.9039 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.236e-05/0.2226, allocations: 0 / 0.9039 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.671e-05/0.2226, allocations: 4 kB / 0.9039 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.2226, allocations: 4 kB / 0.9039 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.121e-05/0.2227, allocations: 120.9 kB / 0.9041 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2227, allocations: 0 / 0.9041 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000177/0.2229, allocations: 11.94 kB / 0.9041 GB, free: 59.46 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 (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.0003244/0.2232, allocations: 0.7031 MB / 0.9048 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.902e-05/0.2233, allocations: 19.94 kB / 0.9048 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2233, allocations: 0 / 0.9048 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.086e-05/0.2233, allocations: 8.156 kB / 0.9048 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.2235, allocations: 11.98 kB / 0.9048 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008022/0.2243, allocations: 0.7471 MB / 0.9055 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.2244, allocations: 0.6965 MB / 0.9062 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.923e-05/0.2245, allocations: 12.42 kB / 0.9062 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.807e-05/0.2245, allocations: 19.44 kB / 0.9062 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of SimCode: time 5.81e-07/0.2246, allocations: 0 / 0.9062 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01213/0.2367, allocations: 1.589 MB / 0.9078 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001353/0.2369, allocations: 195.2 kB / 0.908 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.434/1.67, allocations: 4 kB / 0.908 GB, free: 55.47 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1)