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.676/2.676, allocations: 287.3 MB / 302.3 MB, free: 8.348 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.001572/0.001572, allocations: 178.3 kB / 370.8 MB, free: 10.85 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.123/2.123, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001271/0.001271, allocations: 105.9 kB / 0.7428 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006469/0.0006472, allocations: 17.5 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2188, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001296/0.2201, allocations: 0.5366 MB / 0.9788 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001822/0.2203, allocations: 47.72 kB / 0.9789 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.703e-05/0.2204, allocations: 4 kB / 0.9789 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.965e-05/0.2205, allocations: 7.938 kB / 0.9789 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.2206, allocations: 3.984 kB / 0.9789 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.643e-05/0.2207, allocations: 15.98 kB / 0.9789 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.2208, allocations: 43.89 kB / 0.9789 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.221, allocations: 29.58 kB / 0.979 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.247e-05/0.2211, allocations: 27.84 kB / 0.979 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.501e-05/0.2212, allocations: 19.86 kB / 0.979 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.2213, allocations: 0 / 0.979 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.487e-05/0.2213, allocations: 7.938 kB / 0.979 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.2214, allocations: 7.938 kB / 0.979 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.356e-05/0.2214, allocations: 37.64 kB / 0.979 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.2215, allocations: 64.02 kB / 0.9791 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2216, allocations: 0 / 0.9791 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2216, allocations: 0 / 0.9791 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.2216, allocations: 0 / 0.9791 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.0005518/0.2222, allocations: 383 kB / 0.9795 GB, free: 27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.2222, allocations: 12.02 kB / 0.9795 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.004e-05/0.2223, allocations: 38.56 kB / 0.9795 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.2223, allocations: 7.906 kB / 0.9795 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.2226, allocations: 201.3 kB / 0.9797 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.2226, allocations: 8 kB / 0.9797 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.2226, allocations: 4 kB / 0.9797 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.2228, allocations: 91.39 kB / 0.9798 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.2228, allocations: 0 / 0.9798 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.2229, allocations: 11.94 kB / 0.9798 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.2229, allocations: 0 / 0.9798 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.223, allocations: 35.98 kB / 0.9799 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006031/0.2236, allocations: 448.5 kB / 0.9803 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.188e-05/0.2237, allocations: 45.41 kB / 0.9803 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.2237, allocations: 0 / 0.9803 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.2237, allocations: 34.55 kB / 0.9804 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.773e-06/0.2238, allocations: 0 / 0.9804 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000205/0.224, allocations: 61.55 kB / 0.9804 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.224, allocations: 77.11 kB / 0.9805 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.2242, allocations: 168.9 kB / 0.9807 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.2242, allocations: 25.7 kB / 0.9807 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.029e-05/0.2243, allocations: 111.9 kB / 0.9808 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.043e-05/0.2243, allocations: 11.98 kB / 0.9808 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.2243, allocations: 0 / 0.9808 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.5e-05/0.2244, allocations: 319.1 kB / 0.9811 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.672e-05/0.2244, allocations: 11.98 kB / 0.9811 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.379e-05/0.2245, allocations: 21.72 kB / 0.9811 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.663e-05/0.2245, allocations: 8 kB / 0.9812 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2245, allocations: 3.938 kB / 0.9812 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001218/0.2247, allocations: 73.39 kB / 0.9812 GB, free: 25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.2247, allocations: 5.719 kB / 0.9812 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2247, allocations: 0 / 0.9812 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.2247, allocations: 4.062 kB / 0.9812 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.386e-05/0.2248, allocations: 8 kB / 0.9812 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.2248, allocations: 0 / 0.9812 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.83e-05/0.2249, allocations: 0 / 0.9812 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.2249, allocations: 7.938 kB / 0.9812 GB, free: 24.97 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.529e-05/0.225, allocations: 115.9 kB / 0.9814 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.341e-05/0.2251, allocations: 11.86 kB / 0.9814 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.017e-05/0.2251, allocations: 16.55 kB / 0.9814 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.2251, allocations: 96 / 0.9814 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.2251, allocations: 4 kB / 0.9814 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2252, allocations: 3.984 kB / 0.9814 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004157/0.2256, allocations: 486.6 kB / 0.9819 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2256, allocations: 0 / 0.9819 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.959e-05/0.2257, allocations: 4 kB / 0.9819 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.2257, allocations: 4 kB / 0.9819 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.2257, allocations: 0 / 0.9819 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.2257, allocations: 12 kB / 0.9819 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2257, allocations: 0 / 0.9819 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.2258, allocations: 91.56 kB / 0.982 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.122e-05/0.2259, allocations: 89.02 kB / 0.9821 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.2259, allocations: 0 / 0.9821 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.183e-05/0.226, allocations: 8.031 kB / 0.9821 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.226, allocations: 3.984 kB / 0.9821 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.226, allocations: 0 / 0.9821 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001055/0.2261, allocations: 132.2 kB / 0.9822 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2261, allocations: 0 / 0.9822 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002595/0.2264, allocations: 8 kB / 0.9822 GB, free: 23.89 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.0003169/0.2267, allocations: 0.6991 MB / 0.9829 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000106/0.2268, allocations: 19.94 kB / 0.9829 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2269, allocations: 0 / 0.9829 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.317e-05/0.2269, allocations: 8 kB / 0.9829 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.2271, allocations: 8.281 kB / 0.9829 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.2282, allocations: 0.7341 MB / 0.9836 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000156/0.2284, allocations: 0.7004 MB / 0.9843 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.687e-05/0.2285, allocations: 4.438 kB / 0.9843 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.755e-05/0.2286, allocations: 27.42 kB / 0.9843 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of SimCode: time 9.92e-07/0.2286, allocations: 4 kB / 0.9843 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0225/0.2511, allocations: 1.581 MB / 0.9859 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002084/0.2514, allocations: 194.1 kB / 0.9861 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.285/2.536, allocations: 0 / 0.9861 GB, free: 19.89 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)