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_BtuPerHour.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_BtuPerHour,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.389/1.389, allocations: 252 MB / 267 MB, free: 10.98 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.000973/0.000973, allocations: 171.5 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.924/1.924, allocations: 205.4 MB / 0.5777 GB, free: 20.54 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.0009154/0.0009154, allocations: 84.98 kB / 0.6822 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003709/0.000371, allocations: 11.84 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2477, allocations: 106.3 MB / 0.9003 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.0009745/0.2487, allocations: 0.5539 MB / 0.9009 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001072/0.2488, allocations: 43.77 kB / 0.9009 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.143e-05/0.2489, allocations: 4 kB / 0.9009 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.822e-05/0.2489, allocations: 7.938 kB / 0.9009 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.249, allocations: 3.938 kB / 0.9009 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.706e-05/0.2491, allocations: 15.98 kB / 0.9009 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000105/0.2492, allocations: 59.84 kB / 0.901 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.2493, allocations: 29.56 kB / 0.901 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.309e-05/0.2494, allocations: 27.81 kB / 0.901 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.901e-05/0.2494, allocations: 19.86 kB / 0.9011 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.2494, allocations: 4 kB / 0.9011 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.807e-06/0.2495, allocations: 0 / 0.9011 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.2495, allocations: 19.84 kB / 0.9011 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.12e-05/0.2495, allocations: 37.64 kB / 0.9011 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.641e-05/0.2496, allocations: 55.88 kB / 0.9012 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2496, allocations: 0 / 0.9012 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2496, allocations: 0 / 0.9012 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.2496, allocations: 0 / 0.9012 GB, free: 63.31 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.0003426/0.25, allocations: 371.4 kB / 0.9015 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.25, allocations: 8.031 kB / 0.9015 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.244e-05/0.2501, allocations: 38.55 kB / 0.9016 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.834e-05/0.2501, allocations: 19.75 kB / 0.9016 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.2503, allocations: 202.8 kB / 0.9018 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.2503, allocations: 3.984 kB / 0.9018 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.2503, allocations: 12 kB / 0.9018 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.2505, allocations: 99.3 kB / 0.9019 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.2505, allocations: 0 / 0.9019 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.2505, allocations: 0 / 0.9019 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.2505, allocations: 4 kB / 0.9019 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.272e-05/0.2506, allocations: 39.92 kB / 0.9019 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000439/0.251, allocations: 444.6 kB / 0.9024 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.936e-05/0.2511, allocations: 41.28 kB / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.632e-05/0.2511, allocations: 17.84 kB / 0.9024 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.664e-06/0.2511, allocations: 0 / 0.9024 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.2512, allocations: 34.56 kB / 0.9024 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/0.2512, allocations: 4 kB / 0.9025 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001609/0.2513, allocations: 65.42 kB / 0.9025 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.2514, allocations: 85.05 kB / 0.9026 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.2515, allocations: 166.2 kB / 0.9028 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.983e-06/0.2515, allocations: 25.7 kB / 0.9028 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.2515, allocations: 104 kB / 0.9029 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.735e-06/0.2516, allocations: 7.906 kB / 0.9029 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-06/0.2516, allocations: 256 / 0.9029 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.787e-05/0.2516, allocations: 326.8 kB / 0.9032 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.614e-05/0.2516, allocations: 4 kB / 0.9032 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.869e-05/0.2517, allocations: 21.7 kB / 0.9032 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.333e-05/0.2517, allocations: 8 kB / 0.9032 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.2517, allocations: 7.953 kB / 0.9032 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.896e-05/0.2518, allocations: 61.53 kB / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.2518, allocations: 12.06 kB / 0.9033 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2518, allocations: 0 / 0.9033 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.2518, allocations: 0 / 0.9033 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.573e-05/0.2519, allocations: 7.938 kB / 0.9033 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.2519, allocations: 4 kB / 0.9033 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.196e-05/0.252, allocations: 7.844 kB / 0.9033 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.252, allocations: 0 / 0.9033 GB, free: 60.84 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 5.938e-05/0.252, allocations: 117.8 kB / 0.9034 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.046e-05/0.2521, allocations: 15.86 kB / 0.9035 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.316e-05/0.2521, allocations: 16.55 kB / 0.9035 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.2521, allocations: 4 kB / 0.9035 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.2521, allocations: 0 / 0.9035 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.2521, allocations: 0 / 0.9035 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.2524, allocations: 478.8 kB / 0.9039 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2524, allocations: 0 / 0.9039 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.171e-05/0.2524, allocations: 4 kB / 0.9039 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2524, allocations: 0 / 0.9039 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.2525, allocations: 8 kB / 0.9039 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2525, allocations: 0 / 0.9039 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.2525, allocations: 0 / 0.9039 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.192e-05/0.2525, allocations: 85.84 kB / 0.904 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.005e-05/0.2526, allocations: 88.92 kB / 0.9041 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.2526, allocations: 4 kB / 0.9041 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.401e-05/0.2526, allocations: 4.031 kB / 0.9041 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.049e-05/0.2526, allocations: 0 / 0.9041 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.2526, allocations: 7.984 kB / 0.9041 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.423e-05/0.2527, allocations: 120.9 kB / 0.9042 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2527, allocations: 0 / 0.9042 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001798/0.2529, allocations: 12 kB / 0.9043 GB, free: 59.79 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.0002892/0.2532, allocations: 0.621 MB / 0.9049 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.803e-05/0.2533, allocations: 19.94 kB / 0.9049 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2533, allocations: 0 / 0.9049 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.107e-05/0.2533, allocations: 4 kB / 0.9049 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.2535, allocations: 11.8 kB / 0.9049 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006882/0.2542, allocations: 0.6025 MB / 0.9055 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.2543, allocations: 0.6965 MB / 0.9062 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.165e-05/0.2543, allocations: 4.438 kB / 0.9062 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.926e-05/0.2544, allocations: 23.42 kB / 0.9062 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2544, allocations: 0 / 0.9062 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01136/0.2657, allocations: 1.614 MB / 0.9078 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001497/0.2659, allocations: 210.9 kB / 0.908 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/1.856, allocations: 0 / 0.908 GB, free: 56.02 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1)