Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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_Btu,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",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 3.03/3.03, allocations: 287.5 MB / 302.4 MB, free: 8.336 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.001918/0.001918, allocations: 185 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.246/2.246, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0009196/0.0009195, allocations: 81 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007319/0.0007323, allocations: 13.17 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2222, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001091/0.2233, allocations: 0.5405 MB / 0.979 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001356/0.2235, allocations: 43.78 kB / 0.979 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.696e-05/0.2236, allocations: 0 / 0.979 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.295e-05/0.2236, allocations: 7.922 kB / 0.979 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.2237, allocations: 7.938 kB / 0.979 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 5.314e-05/0.2238, allocations: 15.98 kB / 0.979 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.2239, allocations: 59.84 kB / 0.9791 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.224, allocations: 33.56 kB / 0.9791 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.181e-05/0.2241, allocations: 19.81 kB / 0.9792 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.458e-05/0.2242, allocations: 23.8 kB / 0.9792 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.2242, allocations: 4 kB / 0.9792 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.131e-05/0.2242, allocations: 0 / 0.9792 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.2242, allocations: 19.91 kB / 0.9792 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/0.2243, allocations: 41.64 kB / 0.9792 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.64e-05/0.2244, allocations: 52.11 kB / 0.9793 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.2244, allocations: 3.984 kB / 0.9793 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2244, allocations: 0 / 0.9793 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.2244, allocations: 0 / 0.9793 GB, free: 27.4 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.0003875/0.2248, allocations: 375 kB / 0.9797 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.2249, allocations: 16.02 kB / 0.9797 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.843e-05/0.2249, allocations: 38.55 kB / 0.9797 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.2249, allocations: 11.91 kB / 0.9797 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.2252, allocations: 201.6 kB / 0.9799 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.2252, allocations: 8 kB / 0.9799 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.2252, allocations: 8 kB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.2254, allocations: 92.78 kB / 0.98 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2254, allocations: 0 / 0.98 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.2255, allocations: 7.938 kB / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.2255, allocations: 4 kB / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.2256, allocations: 43.92 kB / 0.9801 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005771/0.2262, allocations: 444.5 kB / 0.9805 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.832e-05/0.2263, allocations: 41.28 kB / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.407e-05/0.2263, allocations: 21.84 kB / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.2263, allocations: 0 / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.2263, allocations: 30.56 kB / 0.9806 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.2264, allocations: 4 kB / 0.9806 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002368/0.2266, allocations: 57.53 kB / 0.9806 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.2267, allocations: 81.36 kB / 0.9807 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.2268, allocations: 168.9 kB / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.2268, allocations: 29.7 kB / 0.9809 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.583e-05/0.2269, allocations: 111.9 kB / 0.981 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.446e-06/0.2269, allocations: 0 / 0.981 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-06/0.2269, allocations: 0 / 0.981 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.932e-05/0.227, allocations: 326.8 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.764e-05/0.227, allocations: 8 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.378e-05/0.2271, allocations: 21.7 kB / 0.9814 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.574e-05/0.2271, allocations: 11.95 kB / 0.9814 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2271, allocations: 0 / 0.9814 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001136/0.2273, allocations: 65.45 kB / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.2273, allocations: 4 kB / 0.9814 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.2273, allocations: 4 kB / 0.9814 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.2273, allocations: 0 / 0.9814 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.755e-05/0.2274, allocations: 7.984 kB / 0.9814 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2275, allocations: 0 / 0.9814 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.256e-05/0.2275, allocations: 8.062 kB / 0.9814 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.2275, allocations: 4 kB / 0.9815 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 7.198e-05/0.2276, allocations: 115.1 kB / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.625e-05/0.2277, allocations: 15.98 kB / 0.9816 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.055e-05/0.2277, allocations: 8.562 kB / 0.9816 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2277, allocations: 3.984 kB / 0.9816 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.2278, allocations: 4 kB / 0.9816 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2278, allocations: 0 / 0.9816 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004126/0.2282, allocations: 490.6 kB / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2282, allocations: 0 / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.796e-05/0.2282, allocations: 0 / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.2283, allocations: 4 kB / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.2283, allocations: 0 / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.2283, allocations: 11.86 kB / 0.9821 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.2283, allocations: 0 / 0.9821 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.966e-05/0.2284, allocations: 85.92 kB / 0.9822 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.774e-05/0.2285, allocations: 89 kB / 0.9822 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.872e-05/0.2285, allocations: 0 / 0.9822 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.847e-05/0.2285, allocations: 0 / 0.9822 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.978e-05/0.2286, allocations: 0 / 0.9822 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.2286, allocations: 4 kB / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001003/0.2287, allocations: 128.2 kB / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.4e-07/0.2287, allocations: 4.031 kB / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002349/0.229, allocations: 8 kB / 0.9824 GB, free: 23.87 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.2293, allocations: 0.6171 MB / 0.983 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001071/0.2294, allocations: 31.89 kB / 0.983 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2294, allocations: 0 / 0.983 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.228e-05/0.2294, allocations: 8 kB / 0.983 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.2296, allocations: 11.91 kB / 0.983 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.2307, allocations: 0.5786 MB / 0.9836 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.2309, allocations: 0.7004 MB / 0.9843 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.765e-05/0.2309, allocations: 8.422 kB / 0.9843 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.675e-05/0.231, allocations: 27.42 kB / 0.9843 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of SimCode: time 1.022e-06/0.231, allocations: 0 / 0.9843 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/0.2537, allocations: 1.594 MB / 0.9859 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00025/0.254, allocations: 192.5 kB / 0.9861 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.474/2.728, allocations: 0 / 0.9861 GB, free: 20.09 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1)