Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.706/1.706, allocations: 292.6 MB / 307.5 MB, free: 5.195 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.0011/0.0011, allocations: 184.5 kB / 377.1 MB, free: 1.516 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.859/1.859, allocations: 205.4 MB / 0.6366 GB, free: 8.594 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000974/0.0009745, allocations: 94.08 kB / 0.7509 GB, free: 63.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.0003499, allocations: 12 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2551, allocations: 116.3 MB / 0.9884 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7291/0.9843, allocations: 138.6 MB / 1.124 GB, free: 35.88 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/0.9846, allocations: 59.45 kB / 1.124 GB, free: 35.83 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002483/0.9871, allocations: 1.162 MB / 1.125 GB, free: 34.97 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9871, allocations: 0 / 1.125 GB, free: 34.97 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.9871, allocations: 4.625 kB / 1.125 GB, free: 34.97 MB / 0.7292 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.0003071/0.9874, allocations: 386 kB / 1.125 GB, free: 34.56 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.9875, allocations: 16.56 kB / 1.125 GB, free: 34.54 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.536e-05/0.9875, allocations: 34.56 kB / 1.125 GB, free: 34.5 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.9875, allocations: 13.97 kB / 1.125 GB, free: 34.49 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.9877, allocations: 178.9 kB / 1.126 GB, free: 34.28 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.9877, allocations: 7.438 kB / 1.126 GB, free: 34.27 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.9877, allocations: 17.58 kB / 1.126 GB, free: 34.26 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.9879, allocations: 96.47 kB / 1.126 GB, free: 34.16 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.9879, allocations: 0 / 1.126 GB, free: 34.16 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.9879, allocations: 0 / 1.126 GB, free: 34.16 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.9879, allocations: 0.5625 kB / 1.126 GB, free: 34.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.703e-05/0.988, allocations: 47.97 kB / 1.126 GB, free: 34.12 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000522/0.9885, allocations: 459.3 kB / 1.126 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.413e-05/0.9886, allocations: 41.19 kB / 1.126 GB, free: 33.6 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.9886, allocations: 4.75 kB / 1.126 GB, free: 33.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.298e-05/0.9886, allocations: 34.69 kB / 1.126 GB, free: 33.55 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.9886, allocations: 0 / 1.126 GB, free: 33.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001749/0.9888, allocations: 57.58 kB / 1.126 GB, free: 33.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.9889, allocations: 81.11 kB / 1.126 GB, free: 33.4 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.989, allocations: 151.6 kB / 1.126 GB, free: 33.25 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.989, allocations: 29.7 kB / 1.127 GB, free: 33.21 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.004e-05/0.9891, allocations: 111.5 kB / 1.127 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.155e-06/0.9891, allocations: 8.406 kB / 1.127 GB, free: 33.1 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.9891, allocations: 0 / 1.127 GB, free: 33.1 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.139e-05/0.9892, allocations: 324.9 kB / 1.127 GB, free: 32.78 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.955e-05/0.9892, allocations: 8 kB / 1.127 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.276e-05/0.9892, allocations: 25.03 kB / 1.127 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.565e-05/0.9893, allocations: 12 kB / 1.127 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.9893, allocations: 4.562 kB / 1.127 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.432e-05/0.9893, allocations: 65.03 kB / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.9894, allocations: 4 kB / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.9894, allocations: 0.5625 kB / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.9894, allocations: 0 / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.819e-05/0.9895, allocations: 13.67 kB / 1.127 GB, free: 32.65 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.9895, allocations: 0.5625 kB / 1.127 GB, free: 32.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.225e-05/0.9895, allocations: 7.906 kB / 1.127 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.9895, allocations: 0.5625 kB / 1.127 GB, free: 32.64 MB / 0.7292 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.157e-05/0.9896, allocations: 117.9 kB / 1.127 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.9897, allocations: 15.47 kB / 1.127 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.629e-05/0.9897, allocations: 12.56 kB / 1.127 GB, free: 32.49 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.9897, allocations: 0.6562 kB / 1.127 GB, free: 32.49 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.9897, allocations: 0 / 1.127 GB, free: 32.49 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.9897, allocations: 0 / 1.127 GB, free: 32.49 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.99, allocations: 484.5 kB / 1.128 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.99, allocations: 0 / 1.128 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.314e-05/0.9901, allocations: 4 kB / 1.128 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.9901, allocations: 0 / 1.128 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.9901, allocations: 4.562 kB / 1.128 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.9901, allocations: 0.875 kB / 1.128 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.9901, allocations: 0 / 1.128 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.077e-05/0.9902, allocations: 103 kB / 1.128 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.304e-05/0.9902, allocations: 92.48 kB / 1.128 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.9902, allocations: 4 kB / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.448e-05/0.9903, allocations: 0.6562 kB / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.9903, allocations: 0 / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.9903, allocations: 1.156 kB / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.796e-05/0.9904, allocations: 131.4 kB / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9904, allocations: 0 / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001779/0.9905, allocations: 15.97 kB / 1.128 GB, free: 31.6 MB / 0.7292 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.0002553/0.9908, allocations: 0.6954 MB / 1.129 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.995e-05/0.9909, allocations: 24.03 kB / 1.129 GB, free: 30.85 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.9909, allocations: 224 / 1.129 GB, free: 30.85 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.315e-05/0.9909, allocations: 7.938 kB / 1.129 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001032/0.991, allocations: 13.16 kB / 1.129 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000716/0.9917, allocations: 0.7414 MB / 1.129 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.9919, allocations: 0.7065 MB / 1.13 GB, free: 29.37 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.73e-05/0.9919, allocations: 4.438 kB / 1.13 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.242e-05/0.992, allocations: 26.95 kB / 1.13 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of SimCode: time 3.11e-07/0.992, allocations: 0 / 1.13 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01185/1.004, allocations: 1.585 MB / 1.132 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001306/1.004, allocations: 189.4 kB / 1.132 GB, free: 28.25 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/2.65, allocations: 0 / 1.132 GB, free: 28.25 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1)