Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001165/0.001165, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00154/0.00154, allocations: 193.2 kB / 16.14 MB, free: 6.711 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.462/1.462, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.021/3.021, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 64.14 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.421/0.4223, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002296/0.4246, allocations: 0.8785 MB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001186/0.4248, allocations: 47.78 kB / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.855e-05/0.4248, allocations: 0 / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.164e-05/0.4249, allocations: 3.938 kB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.734e-05/0.425, allocations: 7.922 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.669e-05/0.425, allocations: 12 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.953e-05/0.4251, allocations: 63.84 kB / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.4253, allocations: 35.97 kB / 1.069 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.893e-05/0.4253, allocations: 31.8 kB / 1.069 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.369e-05/0.4254, allocations: 27.84 kB / 1.069 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.4254, allocations: 4 kB / 1.069 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.042e-05/0.4254, allocations: 4 kB / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.217e-05/0.4255, allocations: 15.92 kB / 1.069 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.7e-05/0.4255, allocations: 31.75 kB / 1.069 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.4256, allocations: 68.03 kB / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4256, allocations: 0 / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.322e-06/0.4256, allocations: 0 / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.4257, allocations: 0 / 1.069 GB, free: 9.676 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.0004708/0.4261, allocations: 383.2 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.4262, allocations: 8.031 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.4262, allocations: 12.84 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.4264, allocations: 196.1 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.4265, allocations: 8.375 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.4265, allocations: 12.31 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.4267, allocations: 89.52 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.4267, allocations: 192 / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.4267, allocations: 7.938 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.4267, allocations: 4 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.653e-05/0.4268, allocations: 39.92 kB / 1.069 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007248/0.4276, allocations: 432.5 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.305e-05/0.4276, allocations: 45.28 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.231e-05/0.4277, allocations: 21.84 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.4277, allocations: 0 / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.4277, allocations: 30.56 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.4277, allocations: 0 / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001833/0.4279, allocations: 65.69 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.428, allocations: 85.05 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.4282, allocations: 160.9 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.4282, allocations: 25.7 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.569e-05/0.4283, allocations: 111.9 kB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.626e-06/0.4283, allocations: 3.906 kB / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.4283, allocations: 17.72 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.4284, allocations: 318.8 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.886e-05/0.4285, allocations: 12.03 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.127e-05/0.4285, allocations: 17.72 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.951e-05/0.4285, allocations: 21.72 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4285, allocations: 0 / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.325e-05/0.4286, allocations: 65.53 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.4287, allocations: 4 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4287, allocations: 8 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.4287, allocations: 0 / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.339e-05/0.4287, allocations: 8 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.4288, allocations: 0 / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.884e-05/0.4288, allocations: 7.938 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.4288, allocations: 7.984 kB / 1.071 GB, free: 7.23 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.127e-05/0.4289, allocations: 113.8 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.244e-05/0.4289, allocations: 15.83 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.8e-05/0.429, allocations: 7.812 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.429, allocations: 11.94 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.429, allocations: 0 / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.429, allocations: 0 / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.4294, allocations: 474.8 kB / 1.071 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.4294, allocations: 3.984 kB / 1.071 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.828e-05/0.4294, allocations: 4 kB / 1.071 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.4294, allocations: 0 / 1.071 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.4295, allocations: 4.062 kB / 1.071 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4295, allocations: 0 / 1.071 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4295, allocations: 4 kB / 1.071 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.895e-05/0.4296, allocations: 77.84 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/0.4296, allocations: 89 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.4296, allocations: 4 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.099e-05/0.4297, allocations: 4.031 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.4297, allocations: 3.938 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.4297, allocations: 4 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.69e-05/0.4298, allocations: 122.1 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4298, allocations: 0 / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001804/0.43, allocations: 11.91 kB / 1.072 GB, free: 6.18 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.0001277/0.4301, allocations: 103.2 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.843e-05/0.4302, allocations: 19.94 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4302, allocations: 0 / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.21e-05/0.4303, allocations: 7.938 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.4304, allocations: 14.47 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/0.4307, allocations: 184.8 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.431, allocations: 0.6926 MB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.447e-05/0.4311, allocations: 8.422 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.512e-05/0.4311, allocations: 11.44 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of SimCode: time 3.81e-07/0.4311, allocations: 0 / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of Templates: time 0.0025/0.4336, allocations: 432.5 kB / 1.073 GB, free: 4.656 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)