Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008269/0.000827, allocations: 89.89 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006358/0.006358, allocations: 170.4 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.949/2.949, allocations: 473.4 MB / 0.7469 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005021/0.0005021, allocations: 12.3 kB / 0.9158 GB, free: 33.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4451/0.4457, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.00136/0.4471, allocations: 0.5436 MB / 1.075 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001301/0.4472, allocations: 43.77 kB / 1.075 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.399e-05/0.4473, allocations: 0 / 1.075 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.247e-05/0.4473, allocations: 3.938 kB / 1.075 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.4474, allocations: 3.938 kB / 1.075 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.951e-05/0.4475, allocations: 15.98 kB / 1.075 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.4476, allocations: 59.84 kB / 1.075 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.4478, allocations: 39.97 kB / 1.075 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.566e-05/0.4479, allocations: 19.81 kB / 1.075 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.147e-05/0.4479, allocations: 15.86 kB / 1.075 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.4479, allocations: 4 kB / 1.075 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.885e-06/0.4479, allocations: 0 / 1.075 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.095e-05/0.448, allocations: 19.92 kB / 1.075 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.986e-05/0.4481, allocations: 53.44 kB / 1.075 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.4482, allocations: 60.05 kB / 1.075 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4482, allocations: 0 / 1.075 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.405e-06/0.4482, allocations: 0 / 1.075 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.4482, allocations: 0 / 1.075 GB, free: 6.645 MB / 0.8262 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.0004591/0.4487, allocations: 364.8 kB / 1.075 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.4487, allocations: 8.031 kB / 1.075 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.36e-05/0.4487, allocations: 8.844 kB / 1.075 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.449, allocations: 208.1 kB / 1.076 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.449, allocations: 4.375 kB / 1.076 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.449, allocations: 8.375 kB / 1.076 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.4492, allocations: 87.86 kB / 1.076 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.4492, allocations: 8.062 kB / 1.076 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.4493, allocations: 11.94 kB / 1.076 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.4493, allocations: 0 / 1.076 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.126e-05/0.4494, allocations: 43.91 kB / 1.076 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005974/0.45, allocations: 428.8 kB / 1.076 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.582e-05/0.45, allocations: 45.09 kB / 1.076 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.535e-05/0.4501, allocations: 21.84 kB / 1.076 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-06/0.4501, allocations: 0 / 1.076 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.4501, allocations: 34.5 kB / 1.076 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.4501, allocations: 0 / 1.076 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001803/0.4503, allocations: 61.53 kB / 1.076 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.4504, allocations: 85.3 kB / 1.076 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.4506, allocations: 161.1 kB / 1.077 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.4506, allocations: 29.7 kB / 1.077 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.993e-05/0.4507, allocations: 107.9 kB / 1.077 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.747e-06/0.4507, allocations: 3.906 kB / 1.077 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.36e-05/0.4507, allocations: 13.72 kB / 1.077 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.4509, allocations: 318.8 kB / 1.077 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.772e-05/0.4509, allocations: 8 kB / 1.077 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.969e-05/0.4509, allocations: 17.72 kB / 1.077 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.353e-05/0.451, allocations: 29.72 kB / 1.077 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.451, allocations: 0 / 1.077 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.907e-05/0.4511, allocations: 57.53 kB / 1.077 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.4511, allocations: 5.25 kB / 1.077 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.4511, allocations: 3.938 kB / 1.077 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.4511, allocations: 4 kB / 1.077 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.287e-05/0.4512, allocations: 8.062 kB / 1.077 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.4512, allocations: 3.984 kB / 1.077 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.964e-05/0.4512, allocations: 11.88 kB / 1.077 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.4513, allocations: 4 kB / 1.077 GB, free: 4.215 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.148e-05/0.4514, allocations: 109.8 kB / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.4514, allocations: 11.91 kB / 1.077 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.429e-05/0.4515, allocations: 11.81 kB / 1.077 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.4515, allocations: 0 / 1.077 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.4515, allocations: 4 kB / 1.077 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.4515, allocations: 8.031 kB / 1.077 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004187/0.4519, allocations: 478.7 kB / 1.078 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.4519, allocations: 3.984 kB / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.057e-05/0.4519, allocations: 4 kB / 1.078 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.452, allocations: 0 / 1.078 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/0.452, allocations: 4 kB / 1.078 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.452, allocations: 0 / 1.078 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.452, allocations: 4.062 kB / 1.078 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.4521, allocations: 81.77 kB / 1.078 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.98e-05/0.4522, allocations: 92.95 kB / 1.078 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.4522, allocations: 0 / 1.078 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.93e-05/0.4522, allocations: 0 / 1.078 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.554e-05/0.4522, allocations: 4 kB / 1.078 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.4522, allocations: 8.016 kB / 1.078 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001064/0.4523, allocations: 117.3 kB / 1.078 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4524, allocations: 0 / 1.078 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000192/0.4526, allocations: 8 kB / 1.078 GB, free: 3.168 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001612/0.4527, allocations: 103.2 kB / 1.078 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.753e-05/0.4528, allocations: 11.94 kB / 1.078 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4528, allocations: 4 kB / 1.078 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.23e-05/0.4529, allocations: 12.12 kB / 1.078 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.453, allocations: 7.938 kB / 1.078 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003432/0.4534, allocations: 172.6 kB / 1.078 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.4537, allocations: 0.6967 MB / 1.079 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.813e-05/0.4538, allocations: 8.422 kB / 1.079 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.66e-05/0.4538, allocations: 11.44 kB / 1.079 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.4538, allocations: 3.938 kB / 1.079 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of Templates: time 0.002978/0.4568, allocations: 424.5 kB / 1.079 GB, free: 1.656 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)