Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_gal,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.667/2.667, allocations: 287.5 MB / 302.4 MB, free: 8.305 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.001368/0.001368, allocations: 193.2 kB / 371 MB, free: 10.88 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.166/2.166, allocations: 205.4 MB / 0.6297 GB, free: 10.64 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.0008979/0.0008979, allocations: 92.17 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004893/0.0004898, allocations: 12.62 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2174, allocations: 115.3 MB / 0.9785 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001125/0.2186, allocations: 0.5365 MB / 0.979 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001303/0.2188, allocations: 47.78 kB / 0.979 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.023e-05/0.2189, allocations: 0 / 0.979 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.78e-05/0.2189, allocations: 3.938 kB / 0.979 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.112e-05/0.219, allocations: 7.922 kB / 0.979 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 5.409e-05/0.2191, allocations: 15.98 kB / 0.9791 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.2192, allocations: 63.84 kB / 0.9791 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.2193, allocations: 29.58 kB / 0.9791 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.092e-05/0.2194, allocations: 15.86 kB / 0.9792 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.928e-05/0.2195, allocations: 27.8 kB / 0.9792 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.2195, allocations: 3.938 kB / 0.9792 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.172e-05/0.2195, allocations: 8 kB / 0.9792 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.2196, allocations: 11.92 kB / 0.9792 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.309e-05/0.2196, allocations: 37.64 kB / 0.9792 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.584e-05/0.2197, allocations: 56.09 kB / 0.9793 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2197, allocations: 0 / 0.9793 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2197, allocations: 0 / 0.9793 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2197, allocations: 0 / 0.9793 GB, free: 27.42 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.0004147/0.2201, allocations: 379 kB / 0.9797 GB, free: 27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.2202, allocations: 16 kB / 0.9797 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.11e-05/0.2203, allocations: 42.56 kB / 0.9797 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.2203, allocations: 7.906 kB / 0.9797 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.2205, allocations: 202.8 kB / 0.9799 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.2205, allocations: 8 kB / 0.9799 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.2206, allocations: 4 kB / 0.9799 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.2207, allocations: 87.39 kB / 0.98 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.2208, allocations: 3.938 kB / 0.98 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.2208, allocations: 8 kB / 0.98 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.2208, allocations: 4 kB / 0.98 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.2209, allocations: 39.92 kB / 0.9801 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005768/0.2215, allocations: 448.5 kB / 0.9805 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.651e-05/0.2216, allocations: 41.34 kB / 0.9805 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.316e-05/0.2216, allocations: 17.78 kB / 0.9805 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.2216, allocations: 3.984 kB / 0.9805 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.2217, allocations: 30.56 kB / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.595e-06/0.2217, allocations: 3.984 kB / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002014/0.2219, allocations: 57.77 kB / 0.9806 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.2219, allocations: 81.14 kB / 0.9807 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.2221, allocations: 169 kB / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.2221, allocations: 25.7 kB / 0.9809 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/0.2222, allocations: 111.9 kB / 0.981 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.979e-06/0.2222, allocations: 4 kB / 0.981 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/0.2222, allocations: 3.938 kB / 0.981 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.955e-05/0.2223, allocations: 314.8 kB / 0.9813 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.852e-05/0.2223, allocations: 11.98 kB / 0.9813 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.258e-05/0.2224, allocations: 29.66 kB / 0.9814 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.638e-05/0.2224, allocations: 8 kB / 0.9814 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2224, allocations: 3.953 kB / 0.9814 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001116/0.2226, allocations: 65.44 kB / 0.9814 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.2226, allocations: 4 kB / 0.9814 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.2226, allocations: 0 / 0.9814 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.2226, allocations: 0 / 0.9814 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.709e-05/0.2227, allocations: 16.06 kB / 0.9814 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.2227, allocations: 0 / 0.9814 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.705e-05/0.2228, allocations: 0 / 0.9814 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.2228, allocations: 4 kB / 0.9815 GB, free: 24.95 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.104e-05/0.2229, allocations: 115.2 kB / 0.9816 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.606e-05/0.223, allocations: 15.84 kB / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.029e-05/0.223, allocations: 12.56 kB / 0.9816 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.223, allocations: 0 / 0.9816 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.223, allocations: 0 / 0.9816 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.223, allocations: 4 kB / 0.9816 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003786/0.2234, allocations: 486.6 kB / 0.9821 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2234, allocations: 0 / 0.9821 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.746e-05/0.2235, allocations: 8 kB / 0.9821 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.2235, allocations: 0 / 0.9821 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.2235, allocations: 3.938 kB / 0.9821 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.2235, allocations: 4 kB / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2235, allocations: 64 / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.138e-05/0.2236, allocations: 89.78 kB / 0.9822 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.275e-05/0.2237, allocations: 85.02 kB / 0.9822 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.2237, allocations: 0 / 0.9822 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.137e-05/0.2238, allocations: 7.984 kB / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.508e-05/0.2238, allocations: 0 / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.2238, allocations: 32 / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001001/0.2239, allocations: 136.2 kB / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-07/0.2239, allocations: 0 / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002318/0.2242, allocations: 8 kB / 0.9824 GB, free: 23.88 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.0003028/0.2245, allocations: 0.6228 MB / 0.983 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.2246, allocations: 16 kB / 0.983 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.269e-06/0.2246, allocations: 4 kB / 0.983 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.371e-05/0.2246, allocations: 11.88 kB / 0.983 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.2249, allocations: 8 kB / 0.983 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009787/0.2259, allocations: 0.5824 MB / 0.9836 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/0.226, allocations: 0.7004 MB / 0.9843 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.632e-05/0.2261, allocations: 8.422 kB / 0.9843 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.292e-05/0.2261, allocations: 23.44 kB / 0.9843 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of SimCode: time 7.51e-07/0.2262, allocations: 0 / 0.9843 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/0.25, allocations: 1.606 MB / 0.9859 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002823/0.2504, allocations: 194.9 kB / 0.9861 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.369/2.62, allocations: 0 / 0.9861 GB, free: 20.11 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1)