Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_BtuPerHour,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_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.739/2.739, allocations: 287.5 MB / 302.4 MB, free: 8.25 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.001361/0.00136, allocations: 173.1 kB / 371 MB, free: 10.89 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.198/2.198, 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.0009319/0.0009316, allocations: 95.78 kB / 0.743 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00069/0.0006902, allocations: 16.58 kB / 0.8659 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2315, allocations: 115.3 MB / 0.9785 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001196/0.2328, allocations: 0.5327 MB / 0.979 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001326/0.233, allocations: 43.72 kB / 0.979 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.319e-05/0.233, allocations: 4 kB / 0.979 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.307e-05/0.2331, allocations: 3.938 kB / 0.979 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.738e-05/0.2332, allocations: 7.922 kB / 0.979 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 5.368e-05/0.2332, allocations: 15.98 kB / 0.979 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.2334, allocations: 59.84 kB / 0.9791 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.2335, allocations: 29.58 kB / 0.9791 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.747e-05/0.2336, allocations: 23.84 kB / 0.9792 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.659e-05/0.2336, allocations: 27.73 kB / 0.9792 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.2337, allocations: 7.938 kB / 0.9792 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.166e-05/0.2337, allocations: 0 / 0.9792 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.2337, allocations: 11.94 kB / 0.9792 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.324e-05/0.2337, allocations: 37.64 kB / 0.9792 GB, free: 27.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.143e-05/0.2338, allocations: 64.08 kB / 0.9793 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2339, allocations: 0 / 0.9793 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2339, allocations: 0 / 0.9793 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.2339, allocations: 0 / 0.9793 GB, free: 27.41 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.0003946/0.2343, allocations: 383 kB / 0.9797 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.2343, allocations: 12.02 kB / 0.9797 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.665e-05/0.2344, allocations: 38.56 kB / 0.9797 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.2344, allocations: 7.906 kB / 0.9797 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.2346, allocations: 202.8 kB / 0.9799 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.2347, allocations: 7.984 kB / 0.9799 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.2347, allocations: 12 kB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.2349, allocations: 85.42 kB / 0.98 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.2349, allocations: 0 / 0.98 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.2349, allocations: 4 kB / 0.98 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.235, allocations: 4 kB / 0.98 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.2351, allocations: 39.92 kB / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000571/0.2357, allocations: 448.5 kB / 0.9805 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.14e-05/0.2357, allocations: 37.28 kB / 0.9805 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.2358, allocations: 21.83 kB / 0.9805 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.2358, allocations: 4 kB / 0.9805 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.2358, allocations: 34.56 kB / 0.9806 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.114e-06/0.2358, allocations: 0 / 0.9806 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001996/0.236, allocations: 53.55 kB / 0.9806 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.2361, allocations: 81.11 kB / 0.9807 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.2363, allocations: 173.2 kB / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.2363, allocations: 29.7 kB / 0.9809 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.832e-05/0.2364, allocations: 111.9 kB / 0.981 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.047e-06/0.2364, allocations: 3.984 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.2364, allocations: 0 / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.233e-05/0.2365, allocations: 322.8 kB / 0.9813 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.872e-05/0.2365, allocations: 8 kB / 0.9813 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.413e-05/0.2366, allocations: 21.66 kB / 0.9813 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.839e-05/0.2366, allocations: 12 kB / 0.9814 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2366, allocations: 7.953 kB / 0.9814 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001151/0.2368, allocations: 61.44 kB / 0.9814 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.2368, allocations: 11.94 kB / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.2368, allocations: 0 / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.2368, allocations: 0 / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.242e-05/0.2369, allocations: 8 kB / 0.9814 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.2369, allocations: 8 kB / 0.9815 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.929e-05/0.237, allocations: 0 / 0.9815 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.237, allocations: 4.062 kB / 0.9815 GB, free: 24.94 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.032e-05/0.2371, allocations: 117.8 kB / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.652e-05/0.2372, allocations: 15.86 kB / 0.9816 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.039e-05/0.2372, allocations: 8.562 kB / 0.9816 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.2372, allocations: 4 kB / 0.9816 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2372, allocations: 0 / 0.9816 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2372, allocations: 0 / 0.9816 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004018/0.2376, allocations: 490.6 kB / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2377, allocations: 0 / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.765e-05/0.2377, allocations: 4 kB / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.2377, allocations: 0 / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.2377, allocations: 0 / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2378, allocations: 3.938 kB / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2378, allocations: 0 / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.932e-05/0.2379, allocations: 89.91 kB / 0.9822 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-05/0.2379, allocations: 85.02 kB / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.238, allocations: 3.984 kB / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.942e-05/0.238, allocations: 0 / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.032e-05/0.238, allocations: 0 / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.238, allocations: 4 kB / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001008/0.2382, allocations: 128.2 kB / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.1e-07/0.2382, allocations: 0 / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002333/0.2384, allocations: 12.03 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.0003122/0.2387, allocations: 0.6209 MB / 0.983 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.2389, allocations: 19.94 kB / 0.983 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.2389, allocations: 8.156 kB / 0.983 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.255e-05/0.2389, allocations: 7.938 kB / 0.983 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.2391, allocations: 11.98 kB / 0.983 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.2402, allocations: 0.5784 MB / 0.9836 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.2403, allocations: 0.6966 MB / 0.9843 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.76e-05/0.2404, allocations: 16.41 kB / 0.9843 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.662e-05/0.2405, allocations: 23.44 kB / 0.9843 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of SimCode: time 7.945e-06/0.2405, allocations: 0 / 0.9843 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02528/0.2658, allocations: 1.604 MB / 0.9859 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002528/0.2661, allocations: 204.1 kB / 0.9861 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.579/2.845, allocations: 0 / 0.9861 GB, free: 20.12 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1)