Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.708/1.708, allocations: 289.7 MB / 302.3 MB, free: 2.113 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.001038/0.001038, allocations: 179.1 kB / 371.6 MB, free: 3.41 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.664/1.664, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009788/0.0009789, allocations: 91.06 kB / 0.745 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.685e-05/3.686e-05, allocations: 4 kB / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3084, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9905/1.299, allocations: 138.5 MB / 1.115 GB, free: 45.01 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/1.299, allocations: 67.11 kB / 1.115 GB, free: 44.99 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002468/1.302, allocations: 1.147 MB / 1.116 GB, free: 44.27 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.393e-06/1.302, allocations: 0 / 1.116 GB, free: 44.27 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.766e-06/1.302, allocations: 0.8438 kB / 1.116 GB, free: 44.27 MB / 0.7448 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.0002771/1.302, allocations: 369 kB / 1.117 GB, free: 43.88 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/1.302, allocations: 8.594 kB / 1.117 GB, free: 43.88 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/1.302, allocations: 16.38 kB / 1.117 GB, free: 43.86 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/1.302, allocations: 183.6 kB / 1.117 GB, free: 43.65 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/1.302, allocations: 11.73 kB / 1.117 GB, free: 43.64 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/1.302, allocations: 4 kB / 1.117 GB, free: 43.64 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/1.302, allocations: 96.2 kB / 1.117 GB, free: 43.56 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/1.303, allocations: 4.594 kB / 1.117 GB, free: 43.56 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/1.303, allocations: 3.891 kB / 1.117 GB, free: 43.56 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/1.303, allocations: 4 kB / 1.117 GB, free: 43.55 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.812e-05/1.303, allocations: 39.19 kB / 1.117 GB, free: 43.53 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005305/1.303, allocations: 455.8 kB / 1.117 GB, free: 43.11 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.306e-05/1.303, allocations: 40.58 kB / 1.117 GB, free: 43.05 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.687e-05/1.303, allocations: 17.22 kB / 1.117 GB, free: 43.04 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/1.303, allocations: 96 / 1.117 GB, free: 43.04 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/1.303, allocations: 38.5 kB / 1.117 GB, free: 42.99 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/1.303, allocations: 0 / 1.117 GB, free: 42.99 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001546/1.303, allocations: 52.95 kB / 1.117 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/1.304, allocations: 84.52 kB / 1.118 GB, free: 42.84 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/1.304, allocations: 161 kB / 1.118 GB, free: 42.7 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/1.304, allocations: 25.7 kB / 1.118 GB, free: 42.66 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.051e-05/1.304, allocations: 110 kB / 1.118 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.776e-06/1.304, allocations: 7.328 kB / 1.118 GB, free: 42.56 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/1.304, allocations: 0 / 1.118 GB, free: 42.56 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.767e-05/1.304, allocations: 325.3 kB / 1.118 GB, free: 42.25 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.714e-05/1.304, allocations: 4.562 kB / 1.118 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.251e-05/1.304, allocations: 21.8 kB / 1.118 GB, free: 42.22 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.363e-05/1.304, allocations: 7.188 kB / 1.118 GB, free: 42.21 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.304, allocations: 4 kB / 1.118 GB, free: 42.21 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.498e-05/1.304, allocations: 68.66 kB / 1.118 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/1.304, allocations: 4 kB / 1.118 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/1.304, allocations: 6.406 kB / 1.118 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/1.304, allocations: 0 / 1.118 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.914e-05/1.304, allocations: 4 kB / 1.118 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/1.304, allocations: 0 / 1.118 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.425e-05/1.304, allocations: 15.28 kB / 1.118 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/1.304, allocations: 0 / 1.118 GB, free: 42.12 MB / 0.7448 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 4.726e-05/1.304, allocations: 113.1 kB / 1.118 GB, free: 42.01 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/1.304, allocations: 11.86 kB / 1.118 GB, free: 42 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.844e-05/1.304, allocations: 13.09 kB / 1.118 GB, free: 41.99 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/1.304, allocations: 0 / 1.118 GB, free: 41.99 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/1.304, allocations: 0 / 1.118 GB, free: 41.99 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/1.304, allocations: 0.5 kB / 1.118 GB, free: 41.99 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003059/1.305, allocations: 484.9 kB / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.305, allocations: 0 / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.468e-05/1.305, allocations: 11.62 kB / 1.119 GB, free: 41.49 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/1.305, allocations: 0 / 1.119 GB, free: 41.49 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/1.305, allocations: 1.922 kB / 1.119 GB, free: 41.49 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/1.305, allocations: 7.703 kB / 1.119 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/1.305, allocations: 0 / 1.119 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.579e-05/1.305, allocations: 93.52 kB / 1.119 GB, free: 41.38 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.72e-05/1.305, allocations: 94.95 kB / 1.119 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/1.305, allocations: 0 / 1.119 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.376e-05/1.305, allocations: 4 kB / 1.119 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.98e-05/1.305, allocations: 0 / 1.119 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/1.305, allocations: 0.6875 kB / 1.119 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.734e-05/1.305, allocations: 127.2 kB / 1.119 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.52e-07/1.305, allocations: 0 / 1.119 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001721/1.305, allocations: 11.94 kB / 1.119 GB, free: 41.15 MB / 0.7448 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.0001276/1.305, allocations: 103.5 kB / 1.119 GB, free: 41.04 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.912e-05/1.306, allocations: 17.75 kB / 1.119 GB, free: 41.03 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.306, allocations: 0 / 1.119 GB, free: 41.03 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.318e-05/1.306, allocations: 11.12 kB / 1.119 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/1.306, allocations: 11.2 kB / 1.119 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002702/1.306, allocations: 109.9 kB / 1.119 GB, free: 40.9 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001774/1.306, allocations: 0.7012 MB / 1.12 GB, free: 40.19 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.642e-05/1.306, allocations: 12.38 kB / 1.12 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.57e-05/1.306, allocations: 7.438 kB / 1.12 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of SimCode: time 3.5e-07/1.306, allocations: 4 kB / 1.12 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of Templates: time 0.002533/1.309, allocations: 453.4 kB / 1.121 GB, free: 39.92 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1)