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.356/1.356, allocations: 249.5 MB / 257 MB, free: 6.859 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009186/0.0009186, allocations: 180.8 kB / 316.3 MB, free: 3.207 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.473/1.473, allocations: 205.3 MB / 0.5671 GB, free: 15.78 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.0008067/0.000807, allocations: 97.62 kB / 0.6714 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.575e-05/2.577e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2184, allocations: 106.3 MB / 0.8853 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7028/0.9212, allocations: 131.6 MB / 1.014 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001651/0.9214, allocations: 70.27 kB / 1.014 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002503/0.9239, allocations: 1.15 MB / 1.015 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.313e-06/0.924, allocations: 0 / 1.015 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.924, allocations: 4 kB / 1.015 GB, free: 4.652 MB / 0.6355 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.0003024/0.9243, allocations: 368.7 kB / 1.015 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.9243, allocations: 12.88 kB / 1.015 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.9244, allocations: 11.89 kB / 1.015 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.9245, allocations: 182.8 kB / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.9246, allocations: 4 kB / 1.016 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.9246, allocations: 4 kB / 1.016 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.945e-05/0.9247, allocations: 36.98 kB / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.9248, allocations: 80.41 kB / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.964e-06/0.9248, allocations: 0 / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.9248, allocations: 4 kB / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.9248, allocations: 3.938 kB / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004744/0.9253, allocations: 422.8 kB / 1.016 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.751e-05/0.9254, allocations: 40.31 kB / 1.016 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.615e-05/0.9254, allocations: 21.03 kB / 1.016 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.9254, allocations: 0 / 1.016 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.9255, allocations: 33.3 kB / 1.016 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.9255, allocations: 0 / 1.016 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001402/0.9256, allocations: 53.03 kB / 1.016 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.9257, allocations: 77.11 kB / 1.016 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.77e-05/0.9258, allocations: 127.8 kB / 1.016 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.9258, allocations: 25.7 kB / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.823e-05/0.9258, allocations: 114.7 kB / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.102e-06/0.9259, allocations: 3.906 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/0.9259, allocations: 0 / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.319e-05/0.926, allocations: 320.7 kB / 1.017 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.617e-05/0.926, allocations: 7.938 kB / 1.017 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.35e-05/0.926, allocations: 24.91 kB / 1.017 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.156e-05/0.926, allocations: 7 kB / 1.017 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.926, allocations: 0 / 1.017 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.688e-05/0.9261, allocations: 64.05 kB / 1.017 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.9261, allocations: 8 kB / 1.017 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.9262, allocations: 0 / 1.017 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.9262, allocations: 0 / 1.017 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.45e-05/0.9262, allocations: 4 kB / 1.017 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.9262, allocations: 4 kB / 1.017 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.776e-05/0.9263, allocations: 8 kB / 1.017 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.9263, allocations: 0 / 1.017 GB, free: 2.5 MB / 0.6355 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 () * 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.045e-05/0.9264, allocations: 101 kB / 1.017 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.215e-05/0.9264, allocations: 60.55 kB / 1.017 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.9265, allocations: 0 / 1.017 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.699e-05/0.9265, allocations: 15.45 kB / 1.017 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.9265, allocations: 0 / 1.017 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.9265, allocations: 3.938 kB / 1.017 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.9265, allocations: 8.062 kB / 1.017 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003263/0.9269, allocations: 455.2 kB / 1.018 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.9269, allocations: 2.625 kB / 1.018 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.318e-05/0.9269, allocations: 4 kB / 1.018 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.9269, allocations: 0 / 1.018 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.9269, allocations: 0 / 1.018 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.9269, allocations: 3.984 kB / 1.018 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.927, allocations: 64 / 1.018 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.451e-05/0.927, allocations: 90.36 kB / 1.018 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-05/0.9271, allocations: 93.03 kB / 1.018 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.9271, allocations: 0 / 1.018 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.329e-05/0.9271, allocations: 7.984 kB / 1.018 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.547e-05/0.9271, allocations: 4.031 kB / 1.018 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.9272, allocations: 0 / 1.018 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.448e-05/0.9272, allocations: 105.8 kB / 1.018 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9272, allocations: 0 / 1.018 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001765/0.9274, allocations: 11.91 kB / 1.018 GB, free: 1.488 MB / 0.6355 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 () * 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.0003018/0.9277, allocations: 0.6957 MB / 1.019 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.823e-05/0.9278, allocations: 18.12 kB / 1.019 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.9278, allocations: 0 / 1.019 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.073e-05/0.9278, allocations: 4 kB / 1.019 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.788e-05/0.9279, allocations: 11.2 kB / 1.019 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003193/0.9282, allocations: 142.3 kB / 1.019 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.9285, allocations: 0.7001 MB / 1.019 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.439e-05/0.9285, allocations: 4.188 kB / 1.019 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.705e-05/0.9285, allocations: 24.67 kB / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of SimCode: time 2.21e-07/0.9285, allocations: 3.938 kB / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01745/0.946, allocations: 0.9892 MB / 1.02 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002485/0.9463, allocations: 170.6 kB / 1.021 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.362/2.308, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.6511 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)