Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.603/2.603, allocations: 284.9 MB / 292.4 MB, free: 10.62 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.001378/0.001378, allocations: 184.8 kB / 360.6 MB, free: 7.332 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.062/2.062, allocations: 205.2 MB / 0.6191 GB, free: 12.24 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.00108/0.00108, allocations: 92.7 kB / 0.7321 GB, free: 44.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.693e-05/2.691e-05, allocations: 4 kB / 0.8509 GB, free: 3.371 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8205/0.8205, allocations: 115.3 MB / 0.9634 GB, free: 78.6 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2351/1.056, allocations: 136.7 MB / 1.097 GB, free: 3.789 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/1.056, allocations: 69.39 kB / 1.097 GB, free: 3.723 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004195/1.06, allocations: 1.147 MB / 1.098 GB, free: 2.594 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.683e-06/1.06, allocations: 0.5625 kB / 1.098 GB, free: 2.594 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.037e-06/1.06, allocations: 1.688 kB / 1.098 GB, free: 2.594 MB / 0.698 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.0004292/1.061, allocations: 367.5 kB / 1.098 GB, free: 2.191 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/1.061, allocations: 8.031 kB / 1.098 GB, free: 2.184 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.808e-05/1.061, allocations: 17.88 kB / 1.098 GB, free: 2.168 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/1.061, allocations: 180.3 kB / 1.099 GB, free: 1.953 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/1.061, allocations: 4 kB / 1.099 GB, free: 1.949 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/1.061, allocations: 6.844 kB / 1.099 GB, free: 1.945 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001361/1.061, allocations: 32 kB / 1.099 GB, free: 1.914 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/1.061, allocations: 90.92 kB / 1.099 GB, free: 1.816 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/1.061, allocations: 0 / 1.099 GB, free: 1.816 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/1.062, allocations: 0.6875 kB / 1.099 GB, free: 1.816 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/1.062, allocations: 4 kB / 1.099 GB, free: 1.812 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007204/1.062, allocations: 421 kB / 1.099 GB, free: 1.363 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.358e-05/1.062, allocations: 38.56 kB / 1.099 GB, free: 1.309 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.24e-05/1.062, allocations: 18.47 kB / 1.099 GB, free: 1.285 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/1.062, allocations: 1.25 kB / 1.099 GB, free: 1.285 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/1.062, allocations: 35.28 kB / 1.099 GB, free: 1.242 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.565e-06/1.062, allocations: 1 kB / 1.099 GB, free: 1.242 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002005/1.063, allocations: 41.64 kB / 1.099 GB, free: 1.195 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/1.063, allocations: 81.83 kB / 1.099 GB, free: 1.098 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/1.063, allocations: 129.7 kB / 1.099 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/1.063, allocations: 26.98 kB / 1.1 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.043e-05/1.063, allocations: 115.9 kB / 1.1 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.001e-05/1.063, allocations: 3.906 kB / 1.1 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-06/1.063, allocations: 4.625 kB / 1.1 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001242/1.063, allocations: 316.2 kB / 1.1 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.749e-05/1.063, allocations: 4 kB / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.943e-05/1.063, allocations: 19.88 kB / 1.1 GB, free: 480 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.168e-05/1.063, allocations: 15.98 kB / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/1.063, allocations: 0 / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001427/1.064, allocations: 62.38 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/1.064, allocations: 6.344 kB / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/1.064, allocations: 3.969 kB / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/1.064, allocations: 7.625 kB / 1.1 GB, free: 388 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/1.064, allocations: 11.92 kB / 1.1 GB, free: 376 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/1.064, allocations: 0 / 1.1 GB, free: 376 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.952e-05/1.064, allocations: 7.406 kB / 1.1 GB, free: 372 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/1.064, allocations: 4 kB / 1.1 GB, free: 368 kB / 0.698 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 8.026e-05/1.064, allocations: 104.8 kB / 1.1 GB, free: 256 kB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001564/1.064, allocations: 53.5 kB / 1.1 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.256e-05/1.064, allocations: 7.906 kB / 1.1 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.528e-05/1.064, allocations: 11.95 kB / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/1.064, allocations: 0 / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/1.064, allocations: 2.125 kB / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/1.064, allocations: 0 / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005508/1.065, allocations: 453.5 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/1.065, allocations: 4 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.415e-05/1.065, allocations: 0 / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/1.065, allocations: 4.25 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/1.065, allocations: 4 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/1.065, allocations: 2.312 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.065, allocations: 0 / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/1.065, allocations: 95.5 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.77e-05/1.065, allocations: 85.02 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/1.065, allocations: 32 / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.65e-05/1.065, allocations: 7.984 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.298e-05/1.065, allocations: 4 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/1.065, allocations: 0 / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.436e-05/1.065, allocations: 99.28 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.065, allocations: 0 / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002552/1.066, allocations: 8 kB / 1.101 GB, free: 15.33 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.0004786/1.066, allocations: 0.6915 MB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001166/1.066, allocations: 23.94 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.066, allocations: 3.656 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-05/1.066, allocations: 4 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/1.067, allocations: 14.28 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005165/1.067, allocations: 145 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/1.067, allocations: 0.6974 MB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.3e-05/1.067, allocations: 12.11 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.499e-05/1.068, allocations: 23.44 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of SimCode: time 8.41e-07/1.068, allocations: 0 / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03823/1.106, allocations: 0.981 MB / 1.103 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003133/1.106, allocations: 159.9 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.23/3.337, allocations: 4 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1)