Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.53/1.53, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 190.3 kB / 326.6 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.916/1.916, allocations: 205.4 MB / 0.5777 GB, free: 20.56 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008389/0.0008389, allocations: 91.16 kB / 0.6823 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003472, allocations: 15.12 kB / 0.7965 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2361, allocations: 106.3 MB / 0.9003 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.0009752/0.2371, allocations: 0.5539 MB / 0.9009 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001066/0.2372, allocations: 51.77 kB / 0.9009 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.371e-05/0.2373, allocations: 4 kB / 0.9009 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.202e-05/0.2373, allocations: 7.875 kB / 0.9009 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.2374, allocations: 3.938 kB / 0.9009 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.027e-05/0.2375, allocations: 15.98 kB / 0.9009 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.167e-05/0.2376, allocations: 59.84 kB / 0.901 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.2377, allocations: 33.56 kB / 0.901 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.742e-05/0.2378, allocations: 15.88 kB / 0.901 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.234e-05/0.2378, allocations: 27.8 kB / 0.9011 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.2378, allocations: 0 / 0.9011 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.306e-06/0.2379, allocations: 0 / 0.9011 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.321e-05/0.2379, allocations: 19.91 kB / 0.9011 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.263e-05/0.2379, allocations: 37.64 kB / 0.9011 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.206e-05/0.238, allocations: 51.88 kB / 0.9012 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.238, allocations: 0 / 0.9012 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.094e-06/0.238, allocations: 4 kB / 0.9012 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.216e-06/0.238, allocations: 0 / 0.9012 GB, free: 63.42 MB / 0.6042 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.0003716/0.2384, allocations: 371.4 kB / 0.9015 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.2384, allocations: 8.031 kB / 0.9015 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.712e-05/0.2385, allocations: 42.55 kB / 0.9016 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/0.2385, allocations: 11.81 kB / 0.9016 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.2387, allocations: 201.2 kB / 0.9018 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.2387, allocations: 8 kB / 0.9018 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.2388, allocations: 8 kB / 0.9018 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.2389, allocations: 95.28 kB / 0.9019 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.2389, allocations: 3.938 kB / 0.9019 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.2389, allocations: 4 kB / 0.9019 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2389, allocations: 4 kB / 0.9019 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.383e-05/0.239, allocations: 43.86 kB / 0.9019 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004568/0.2395, allocations: 440.7 kB / 0.9024 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.082e-05/0.2395, allocations: 41.19 kB / 0.9024 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.891e-05/0.2396, allocations: 21.84 kB / 0.9024 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/0.2396, allocations: 0 / 0.9024 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.2396, allocations: 38.56 kB / 0.9025 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.2396, allocations: 0 / 0.9025 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001743/0.2398, allocations: 65.44 kB / 0.9025 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.2398, allocations: 77.11 kB / 0.9026 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.24, allocations: 166.2 kB / 0.9027 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.24, allocations: 25.7 kB / 0.9028 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/0.24, allocations: 108.3 kB / 0.9029 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.374e-06/0.2401, allocations: 3.906 kB / 0.9029 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.2401, allocations: 0 / 0.9029 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.294e-05/0.2401, allocations: 322.8 kB / 0.9032 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.782e-05/0.2402, allocations: 8 kB / 0.9032 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.074e-05/0.2402, allocations: 25.64 kB / 0.9032 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.317e-05/0.2402, allocations: 8 kB / 0.9032 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2402, allocations: 7.953 kB / 0.9032 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.877e-05/0.2403, allocations: 53.61 kB / 0.9033 GB, free: 61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.2403, allocations: 8 kB / 0.9033 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.2403, allocations: 3.938 kB / 0.9033 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.2403, allocations: 4.078 kB / 0.9033 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.224e-05/0.2404, allocations: 4 kB / 0.9033 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.2404, allocations: 4 kB / 0.9033 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.33e-05/0.2405, allocations: 11.83 kB / 0.9033 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.2405, allocations: 4 kB / 0.9033 GB, free: 60.96 MB / 0.6042 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 6.414e-05/0.2406, allocations: 113.9 kB / 0.9034 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.2406, allocations: 19.86 kB / 0.9035 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.2406, allocations: 8.547 kB / 0.9035 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-06/0.2406, allocations: 4 kB / 0.9035 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.2407, allocations: 0 / 0.9035 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.2407, allocations: 3.938 kB / 0.9035 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003014/0.241, allocations: 482.8 kB / 0.9039 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.241, allocations: 4 kB / 0.9039 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.321e-05/0.241, allocations: 7.984 kB / 0.9039 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.241, allocations: 0 / 0.9039 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.241, allocations: 0 / 0.9039 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.241, allocations: 0 / 0.9039 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.241, allocations: 0 / 0.9039 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.854e-05/0.2411, allocations: 89.83 kB / 0.904 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.2412, allocations: 92.91 kB / 0.9041 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.2412, allocations: 3.938 kB / 0.9041 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.411e-05/0.2412, allocations: 0 / 0.9041 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.238e-05/0.2412, allocations: 4 kB / 0.9041 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.2412, allocations: 0 / 0.9041 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.496e-05/0.2413, allocations: 128.9 kB / 0.9042 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2413, allocations: 0 / 0.9042 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001903/0.2415, allocations: 8 kB / 0.9043 GB, free: 59.9 MB / 0.6042 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.0002562/0.2418, allocations: 0.6171 MB / 0.9049 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.047e-05/0.2418, allocations: 19.98 kB / 0.9049 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2418, allocations: 0 / 0.9049 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.206e-05/0.2419, allocations: 16.09 kB / 0.9049 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.242, allocations: 10.03 kB / 0.9049 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007764/0.2428, allocations: 0.5926 MB / 0.9055 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.2429, allocations: 0.6965 MB / 0.9062 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.226e-05/0.243, allocations: 8.375 kB / 0.9062 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.601e-05/0.243, allocations: 31.42 kB / 0.9062 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of SimCode: time 2e-07/0.243, allocations: 0 / 0.9062 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01129/0.2543, allocations: 1.587 MB / 0.9077 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001408/0.2545, allocations: 204 kB / 0.9079 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/1.9, allocations: 7.938 kB / 0.9079 GB, free: 56.12 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1)