Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.649/2.649, allocations: 287.5 MB / 302.4 MB, free: 8.277 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.00142/0.00142, allocations: 183.1 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.35/2.35, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0009322/0.0009319, allocations: 85.69 kB / 0.743 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009512/0.0009514, allocations: 11.31 kB / 0.8659 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2252, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001085/0.2263, allocations: 0.5288 MB / 0.979 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001504/0.2265, allocations: 51.72 kB / 0.979 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.163e-05/0.2266, allocations: 0 / 0.979 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.175e-05/0.2266, allocations: 3.938 kB / 0.979 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.653e-05/0.2267, allocations: 11.92 kB / 0.979 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 5.132e-05/0.2268, allocations: 11.98 kB / 0.9791 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.2269, allocations: 59.84 kB / 0.9791 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.2271, allocations: 33.58 kB / 0.9791 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.586e-05/0.2271, allocations: 23.86 kB / 0.9792 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.09e-05/0.2272, allocations: 23.8 kB / 0.9792 GB, free: 27.51 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.2272, allocations: 7.938 kB / 0.9792 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.159e-05/0.2272, allocations: 0 / 0.9792 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.541e-05/0.2273, allocations: 7.938 kB / 0.9792 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.2273, allocations: 37.64 kB / 0.9792 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.286e-05/0.2274, allocations: 64.08 kB / 0.9793 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.2274, allocations: 0 / 0.9793 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.535e-06/0.2274, allocations: 4 kB / 0.9793 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.2274, allocations: 0 / 0.9793 GB, free: 27.38 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.0004375/0.2279, allocations: 375 kB / 0.9797 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.228, allocations: 16.02 kB / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.098e-05/0.228, allocations: 34.56 kB / 0.9797 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.228, allocations: 11.91 kB / 0.9797 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.2283, allocations: 198.8 kB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.2283, allocations: 4 kB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.2283, allocations: 12 kB / 0.9799 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.2285, allocations: 91.39 kB / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.2286, allocations: 0 / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.2286, allocations: 0 / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.2286, allocations: 4 kB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.2287, allocations: 43.86 kB / 0.9801 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006252/0.2294, allocations: 452.5 kB / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.989e-05/0.2294, allocations: 45.27 kB / 0.9805 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.504e-05/0.2295, allocations: 13.84 kB / 0.9805 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.2295, allocations: 0 / 0.9805 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.2295, allocations: 38.56 kB / 0.9806 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.743e-06/0.2296, allocations: 0 / 0.9806 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002214/0.2298, allocations: 53.55 kB / 0.9806 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.2298, allocations: 77.11 kB / 0.9807 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.23, allocations: 169 kB / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.2301, allocations: 33.64 kB / 0.9809 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.121e-05/0.2301, allocations: 116.1 kB / 0.981 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.065e-05/0.2301, allocations: 4 kB / 0.981 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-06/0.2302, allocations: 0 / 0.981 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.975e-05/0.2302, allocations: 322.8 kB / 0.9813 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.917e-05/0.2303, allocations: 4 kB / 0.9813 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.651e-05/0.2303, allocations: 21.66 kB / 0.9813 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.893e-05/0.2304, allocations: 8 kB / 0.9814 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2304, allocations: 7.953 kB / 0.9814 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001701/0.2306, allocations: 69.44 kB / 0.9814 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.2306, allocations: 4 kB / 0.9814 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2306, allocations: 0 / 0.9814 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.2306, allocations: 4 kB / 0.9814 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.2308, allocations: 4 kB / 0.9814 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2308, allocations: 0 / 0.9814 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.23e-05/0.2308, allocations: 4 kB / 0.9814 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.2309, allocations: 0 / 0.9814 GB, free: 24.93 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 8.213e-05/0.2309, allocations: 123.2 kB / 0.9816 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.682e-05/0.231, allocations: 11.86 kB / 0.9816 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.371e-05/0.2311, allocations: 12.56 kB / 0.9816 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2311, allocations: 0 / 0.9816 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.2311, allocations: 4 kB / 0.9816 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2311, allocations: 0 / 0.9816 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000433/0.2315, allocations: 482.6 kB / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2316, allocations: 8.031 kB / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.771e-05/0.2316, allocations: 0 / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.2316, allocations: 4 kB / 0.9821 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.2316, allocations: 4 kB / 0.9821 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2316, allocations: 0 / 0.9821 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2317, allocations: 4.031 kB / 0.9821 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.2318, allocations: 93.83 kB / 0.9822 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/0.2318, allocations: 85.02 kB / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.2319, allocations: 11.92 kB / 0.9823 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.954e-05/0.2319, allocations: 0 / 0.9823 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.342e-05/0.2319, allocations: 0 / 0.9823 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.232, allocations: 4 kB / 0.9823 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000104/0.2321, allocations: 124.2 kB / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.9e-07/0.2321, allocations: 0 / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002345/0.2323, allocations: 12 kB / 0.9824 GB, free: 23.85 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.0003078/0.2326, allocations: 0.6248 MB / 0.983 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000106/0.2328, allocations: 12 kB / 0.983 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.2328, allocations: 3.938 kB / 0.983 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.107e-05/0.2328, allocations: 16.09 kB / 0.983 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.233, allocations: 7.984 kB / 0.983 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009942/0.234, allocations: 0.5823 MB / 0.9836 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.2342, allocations: 0.6965 MB / 0.9843 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.775e-05/0.2343, allocations: 8.422 kB / 0.9843 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.433e-05/0.2343, allocations: 23.44 kB / 0.9843 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of SimCode: time 5.26e-06/0.2343, allocations: 0 / 0.9843 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.2548, allocations: 1.591 MB / 0.9859 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002239/0.2551, allocations: 199 kB / 0.9861 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.637/2.892, allocations: 0 / 0.9861 GB, free: 20.08 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1)