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.001647/0.001647, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002298/0.002298, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.475/1.475, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.069/3.069, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 64.14 kB / 0.9114 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3711, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002519/0.3736, allocations: 0.8824 MB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001097/0.3738, allocations: 43.78 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.349e-05/0.3738, allocations: 0 / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.462e-05/0.3739, allocations: 7.938 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.645e-05/0.374, allocations: 7.922 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.559e-05/0.374, allocations: 16 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.3741, allocations: 55.84 kB / 1.069 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.3743, allocations: 39.97 kB / 1.069 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.308e-05/0.3744, allocations: 23.86 kB / 1.069 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.87e-05/0.3744, allocations: 31.78 kB / 1.069 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.3744, allocations: 4 kB / 1.069 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.282e-05/0.3745, allocations: 4 kB / 1.069 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.723e-05/0.3745, allocations: 19.86 kB / 1.069 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.536e-05/0.3745, allocations: 23.81 kB / 1.069 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.3746, allocations: 72.03 kB / 1.069 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3747, allocations: 4 kB / 1.069 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3747, allocations: 0 / 1.069 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.3747, allocations: 4 kB / 1.069 GB, free: 9.652 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.0004623/0.3751, allocations: 379.1 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3752, allocations: 12.03 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.839e-05/0.3752, allocations: 8.844 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.3755, allocations: 188.2 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.3755, allocations: 16.25 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.3755, allocations: 8.375 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.3757, allocations: 91.95 kB / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.3757, allocations: 192 / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.3757, allocations: 3.938 kB / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.3757, allocations: 4 kB / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.994e-05/0.3758, allocations: 39.92 kB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005721/0.3764, allocations: 436.6 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.556e-05/0.3765, allocations: 45.25 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.585e-05/0.3765, allocations: 17.78 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-06/0.3765, allocations: 0 / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.3766, allocations: 38.56 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3766, allocations: 0 / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001707/0.3767, allocations: 57.47 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.3768, allocations: 77.11 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.3769, allocations: 162.2 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.377, allocations: 25.7 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.309e-05/0.377, allocations: 108.2 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.3771, allocations: 7.906 kB / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.3771, allocations: 17.72 kB / 1.07 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.3772, allocations: 318.8 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.689e-05/0.3772, allocations: 4 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.016e-05/0.3773, allocations: 21.66 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.699e-05/0.3773, allocations: 25.72 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3773, allocations: 0 / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001227/0.3774, allocations: 65.53 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.3775, allocations: 4 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3775, allocations: 3.938 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.3775, allocations: 7.938 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.106e-05/0.3776, allocations: 8 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3776, allocations: 0 / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.047e-05/0.3776, allocations: 11.84 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.3776, allocations: 4.062 kB / 1.071 GB, free: 7.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 7.259e-05/0.3777, allocations: 117.8 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.3777, allocations: 8 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.667e-05/0.3778, allocations: 19.8 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3778, allocations: 0 / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3778, allocations: 0 / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3778, allocations: 0 / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003821/0.3782, allocations: 474.8 kB / 1.071 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3782, allocations: 3.938 kB / 1.071 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.312e-05/0.3782, allocations: 11.98 kB / 1.071 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3782, allocations: 0 / 1.071 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.3782, allocations: 4 kB / 1.071 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.3782, allocations: 3.938 kB / 1.071 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3782, allocations: 0 / 1.071 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.757e-05/0.3783, allocations: 77.91 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.378e-05/0.3784, allocations: 89 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.3784, allocations: 0 / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.245e-05/0.3784, allocations: 4 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.597e-05/0.3785, allocations: 4 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.3785, allocations: 0 / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.244e-05/0.3786, allocations: 121.7 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3786, allocations: 0 / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001831/0.3788, allocations: 15.94 kB / 1.072 GB, free: 6.164 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.0001401/0.3789, allocations: 103.2 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.745e-05/0.379, allocations: 12 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.379, allocations: 4 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.942e-05/0.379, allocations: 8 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.3792, allocations: 9.766 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002989/0.3795, allocations: 184.8 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.3797, allocations: 0.6926 MB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.377e-05/0.3798, allocations: 12.42 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.245e-05/0.3798, allocations: 11.44 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3798, allocations: 0 / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of Templates: time 0.002438/0.3822, allocations: 436.6 kB / 1.073 GB, free: 4.641 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)