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.762/1.762, allocations: 289.9 MB / 297.4 MB, free: 6.34 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.000988/0.0009879, allocations: 176.9 kB / 366.7 MB, free: 1.664 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.616/1.616, allocations: 205.3 MB / 0.626 GB, free: 7.164 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.0008721/0.0008725, allocations: 87.94 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.96e-05/1.961e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7733/0.7734, allocations: 116.3 MB / 0.9733 GB, free: 76.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2132/0.9867, allocations: 137.8 MB / 1.108 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.987, allocations: 63.97 kB / 1.108 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003118/0.9901, allocations: 1.149 MB / 1.109 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.318e-06/0.9902, allocations: 0 / 1.109 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.442e-05/0.9902, allocations: 7.656 kB / 1.109 GB, free: 11.09 MB / 0.7136 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.000425/0.9906, allocations: 367.4 kB / 1.109 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.9907, allocations: 8.562 kB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.565e-05/0.9908, allocations: 22.98 kB / 1.109 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.991, allocations: 185.8 kB / 1.11 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.991, allocations: 4 kB / 1.11 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.991, allocations: 4.531 kB / 1.11 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001167/0.9911, allocations: 36.77 kB / 1.11 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.9913, allocations: 80.97 kB / 1.11 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.9913, allocations: 1 kB / 1.11 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.9913, allocations: 0 / 1.11 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.9913, allocations: 4 kB / 1.11 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000694/0.992, allocations: 417.6 kB / 1.11 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.357e-05/0.9921, allocations: 37.67 kB / 1.11 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.532e-05/0.9922, allocations: 18.38 kB / 1.11 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.9922, allocations: 2.5 kB / 1.11 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.9922, allocations: 40.06 kB / 1.11 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.793e-06/0.9922, allocations: 0 / 1.11 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001817/0.9924, allocations: 37.7 kB / 1.11 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.9925, allocations: 88.41 kB / 1.11 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.9926, allocations: 130.1 kB / 1.111 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.9926, allocations: 25.7 kB / 1.111 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.824e-05/0.9927, allocations: 108.1 kB / 1.111 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.726e-06/0.9927, allocations: 7.906 kB / 1.111 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.9928, allocations: 0 / 1.111 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.9929, allocations: 318.5 kB / 1.111 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.999e-05/0.9929, allocations: 7.938 kB / 1.111 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.868e-05/0.993, allocations: 21.7 kB / 1.111 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.566e-05/0.993, allocations: 16.47 kB / 1.111 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.993, allocations: 0 / 1.111 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.102e-05/0.9931, allocations: 53.61 kB / 1.111 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.9931, allocations: 14.5 kB / 1.111 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.9931, allocations: 0 / 1.111 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.9931, allocations: 4 kB / 1.111 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.659e-05/0.9932, allocations: 7.938 kB / 1.111 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.9932, allocations: 1.562 kB / 1.111 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.283e-05/0.9933, allocations: 10.38 kB / 1.111 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.9933, allocations: 0 / 1.111 GB, free: 8.855 MB / 0.7136 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 9.958e-05/0.9934, allocations: 101.6 kB / 1.111 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.201e-05/0.9935, allocations: 54.47 kB / 1.111 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.9935, allocations: 11.86 kB / 1.111 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.173e-05/0.9936, allocations: 8.812 kB / 1.111 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.9936, allocations: 0 / 1.111 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.9936, allocations: 1.812 kB / 1.111 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.9936, allocations: 0 / 1.111 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003782/0.994, allocations: 451.6 kB / 1.112 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.994, allocations: 4 kB / 1.112 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.197e-05/0.994, allocations: 3.938 kB / 1.112 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.9941, allocations: 5.688 kB / 1.112 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.9941, allocations: 0 / 1.112 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.9941, allocations: 0 / 1.112 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.9941, allocations: 0 / 1.112 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.925e-05/0.9942, allocations: 95.62 kB / 1.112 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.566e-05/0.9943, allocations: 89.09 kB / 1.112 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.9943, allocations: 0 / 1.112 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.217e-05/0.9943, allocations: 3.984 kB / 1.112 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.665e-05/0.9943, allocations: 4 kB / 1.112 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.9943, allocations: 0 / 1.112 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.143e-05/0.9944, allocations: 104.7 kB / 1.112 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.296e-06/0.9944, allocations: 0 / 1.112 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001866/0.9946, allocations: 15.97 kB / 1.112 GB, free: 7.812 MB / 0.7136 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.0004127/0.995, allocations: 0.6876 MB / 1.113 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.563e-05/0.9951, allocations: 26.12 kB / 1.113 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.9951, allocations: 3.938 kB / 1.113 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.167e-05/0.9952, allocations: 7.938 kB / 1.113 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/0.9953, allocations: 6.266 kB / 1.113 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003887/0.9957, allocations: 138.6 kB / 1.113 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.996, allocations: 0.709 MB / 1.114 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.625e-05/0.996, allocations: 192 / 1.114 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.97e-05/0.9961, allocations: 27.42 kB / 1.114 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.9961, allocations: 0 / 1.114 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02406/1.02, allocations: 0.9798 MB / 1.115 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002558/1.02, allocations: 151.5 kB / 1.115 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.613/2.633, allocations: 2.406 kB / 1.115 GB, free: 4.984 MB / 0.7136 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)