Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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_BtuPerHour,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",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.656/2.656, allocations: 287.3 MB / 302.3 MB, free: 8.27 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.001617/0.001616, allocations: 179 kB / 370.8 MB, free: 10.84 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.271/2.271, 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.001144/0.001144, allocations: 90 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006468/0.000647, allocations: 11.38 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2226, 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_BtuPerHour): time 0.001062/0.2237, allocations: 0.5366 MB / 0.9788 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001283/0.2238, allocations: 51.72 kB / 0.9789 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.443e-05/0.2239, allocations: 0 / 0.9789 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.303e-05/0.2239, allocations: 7.922 kB / 0.9789 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.986e-05/0.2241, allocations: 4 kB / 0.9789 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 5.063e-05/0.2241, allocations: 15.98 kB / 0.9789 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.04e-05/0.2242, allocations: 47.89 kB / 0.9789 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.2244, allocations: 25.56 kB / 0.979 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.381e-05/0.2244, allocations: 19.88 kB / 0.979 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.408e-05/0.2245, allocations: 19.86 kB / 0.979 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.2245, allocations: 7.938 kB / 0.979 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.05e-05/0.2245, allocations: 4 kB / 0.979 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.715e-05/0.2246, allocations: 15.91 kB / 0.979 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.47e-05/0.2246, allocations: 41.64 kB / 0.9791 GB, free: 27.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.365e-05/0.2247, allocations: 52.09 kB / 0.9791 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.2247, allocations: 0 / 0.9791 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2247, allocations: 4 kB / 0.9791 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.2247, 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.0004104/0.2251, allocations: 371 kB / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.2252, allocations: 12.02 kB / 0.9795 GB, free: 27 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.926e-05/0.2253, allocations: 50.48 kB / 0.9795 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.148e-05/0.2253, allocations: 7.906 kB / 0.9795 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.2255, allocations: 198.8 kB / 0.9797 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.2255, allocations: 8 kB / 0.9797 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.2256, allocations: 4 kB / 0.9797 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.2257, allocations: 93.41 kB / 0.9798 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.2258, allocations: 7.938 kB / 0.9798 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.2258, allocations: 0 / 0.9798 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.2258, allocations: 4 kB / 0.9798 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.2259, allocations: 35.98 kB / 0.9799 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005681/0.2265, allocations: 452.6 kB / 0.9803 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.809e-05/0.2266, allocations: 45.16 kB / 0.9803 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.2266, allocations: 0 / 0.9803 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.2266, allocations: 30.56 kB / 0.9804 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.2266, allocations: 0 / 0.9804 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001976/0.2268, allocations: 61.59 kB / 0.9804 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.2269, allocations: 81.05 kB / 0.9805 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.2271, allocations: 169.2 kB / 0.9807 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.387e-06/0.2271, allocations: 25.7 kB / 0.9807 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.876e-05/0.2272, allocations: 115.9 kB / 0.9808 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.436e-06/0.2272, allocations: 0 / 0.9808 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-06/0.2272, allocations: 4 kB / 0.9808 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.306e-05/0.2273, allocations: 326.8 kB / 0.9811 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.74e-05/0.2273, allocations: 0 / 0.9811 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.365e-05/0.2273, allocations: 21.72 kB / 0.9811 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.631e-05/0.2274, allocations: 19.92 kB / 0.9812 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.2274, allocations: 0 / 0.9812 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001149/0.2275, allocations: 69.41 kB / 0.9812 GB, free: 25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.2275, allocations: 4 kB / 0.9812 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2276, allocations: 0 / 0.9812 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.2276, allocations: 4 kB / 0.9812 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.729e-05/0.2277, allocations: 7.984 kB / 0.9812 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.2277, allocations: 0 / 0.9812 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.116e-05/0.2278, allocations: 8 kB / 0.9813 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.2278, allocations: 4.062 kB / 0.9813 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.351e-05/0.2279, allocations: 113.8 kB / 0.9814 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.487e-05/0.2279, allocations: 11.86 kB / 0.9814 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.228, allocations: 12.56 kB / 0.9814 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.228, allocations: 0 / 0.9814 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.228, allocations: 3.984 kB / 0.9814 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.228, allocations: 7.938 kB / 0.9814 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004063/0.2284, allocations: 486.6 kB / 0.9819 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2284, allocations: 0 / 0.9819 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.94e-05/0.2285, allocations: 4 kB / 0.9819 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.2285, allocations: 0 / 0.9819 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.2285, allocations: 4 kB / 0.9819 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.2285, allocations: 7.922 kB / 0.9819 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2285, allocations: 0 / 0.9819 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.2286, allocations: 91.64 kB / 0.982 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.807e-05/0.2287, allocations: 93 kB / 0.9821 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.2287, allocations: 4 kB / 0.9821 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.767e-05/0.2288, allocations: 0 / 0.9821 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-05/0.2288, allocations: 0 / 0.9821 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.2288, allocations: 0 / 0.9821 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001057/0.2289, allocations: 132.2 kB / 0.9822 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.51e-07/0.229, allocations: 4.031 kB / 0.9822 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002615/0.2293, 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.0003165/0.2296, allocations: 0.7031 MB / 0.9829 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001112/0.2297, allocations: 23.92 kB / 0.9829 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2297, allocations: 0 / 0.9829 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.399e-05/0.2298, 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.000145/0.2299, allocations: 6 kB / 0.9829 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.231, allocations: 0.7305 MB / 0.9836 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.2311, allocations: 0.7043 MB / 0.9843 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.952e-05/0.2312, allocations: 8.422 kB / 0.9843 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.687e-05/0.2313, allocations: 23.44 kB / 0.9843 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of SimCode: time 1.011e-06/0.2313, allocations: 0 / 0.9843 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02261/0.2539, allocations: 1.592 MB / 0.9859 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002915/0.2543, allocations: 202.2 kB / 0.9861 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.415/2.669, allocations: 0 / 0.9861 GB, free: 19.91 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1)