Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008951/0.008952, allocations: 171.7 kB / 16.27 MB, free: 6.652 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.55/1.55, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.976/2.976, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000396/0.0003961, allocations: 10.03 kB / 0.9158 GB, free: 33.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4107, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001283/0.4121, allocations: 0.5474 MB / 1.075 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001863/0.4123, allocations: 39.78 kB / 1.075 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.255e-05/0.4124, allocations: 0 / 1.075 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.202e-05/0.4124, allocations: 7.938 kB / 1.075 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.241e-05/0.4125, allocations: 4 kB / 1.075 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.032e-05/0.4126, allocations: 15.98 kB / 1.075 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.4127, allocations: 63.72 kB / 1.075 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.4129, allocations: 39.97 kB / 1.075 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.712e-05/0.413, allocations: 11.88 kB / 1.075 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.159e-05/0.413, allocations: 23.84 kB / 1.075 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.4131, allocations: 4 kB / 1.075 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.125e-06/0.4131, allocations: 0 / 1.075 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.846e-05/0.4131, allocations: 15.92 kB / 1.075 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.323e-05/0.4132, allocations: 49.45 kB / 1.075 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.4133, allocations: 68.03 kB / 1.075 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4133, allocations: 0 / 1.075 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.519e-06/0.4133, allocations: 0 / 1.075 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.321e-06/0.4134, allocations: 3.938 kB / 1.075 GB, free: 6.66 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.0005653/0.4139, allocations: 367.3 kB / 1.075 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.414, allocations: 8.031 kB / 1.075 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.676e-05/0.4141, allocations: 8.844 kB / 1.075 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.4143, allocations: 188.2 kB / 1.076 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.4144, allocations: 12.38 kB / 1.076 GB, free: 6 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.4144, allocations: 4.375 kB / 1.076 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.4146, allocations: 101.8 kB / 1.076 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.4146, allocations: 4.188 kB / 1.076 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.4146, allocations: 7.938 kB / 1.076 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.4147, allocations: 3.938 kB / 1.076 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.971e-05/0.4148, allocations: 31.98 kB / 1.076 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000691/0.4155, allocations: 440.6 kB / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.885e-05/0.4155, allocations: 37.28 kB / 1.076 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.571e-05/0.4156, allocations: 25.73 kB / 1.076 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.4156, allocations: 4 kB / 1.076 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.4157, allocations: 30.56 kB / 1.076 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.4157, allocations: 4 kB / 1.076 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0002016/0.4159, allocations: 53.48 kB / 1.076 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.4159, allocations: 77.11 kB / 1.076 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.4161, allocations: 165.1 kB / 1.077 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.4161, allocations: 29.95 kB / 1.077 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.631e-05/0.4162, allocations: 111.9 kB / 1.077 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.031e-05/0.4162, allocations: 3.906 kB / 1.077 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/0.4163, allocations: 13.72 kB / 1.077 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.4164, allocations: 318.8 kB / 1.077 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.593e-05/0.4164, allocations: 4 kB / 1.077 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.693e-05/0.4165, allocations: 21.7 kB / 1.077 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.895e-05/0.4165, allocations: 41.59 kB / 1.077 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4165, allocations: 0 / 1.077 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.838e-05/0.4166, allocations: 49.61 kB / 1.077 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.4166, allocations: 4 kB / 1.077 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.4166, allocations: 3.938 kB / 1.077 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.4167, allocations: 11.92 kB / 1.077 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.44e-05/0.4167, allocations: 4 kB / 1.077 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.4167, allocations: 0 / 1.077 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.255e-05/0.4168, allocations: 12 kB / 1.077 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.4168, allocations: 0 / 1.077 GB, free: 4.242 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.533e-05/0.4169, allocations: 113.8 kB / 1.077 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.435e-05/0.4169, allocations: 7.906 kB / 1.077 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.284e-05/0.417, allocations: 19.8 kB / 1.077 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.417, allocations: 0 / 1.077 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.417, allocations: 0 / 1.077 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.417, allocations: 0 / 1.077 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000452/0.4175, allocations: 482.7 kB / 1.078 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4175, allocations: 3.938 kB / 1.078 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.922e-05/0.4175, allocations: 4 kB / 1.078 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.4175, allocations: 0 / 1.078 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.4175, allocations: 4 kB / 1.078 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4175, allocations: 0 / 1.078 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4175, allocations: 0 / 1.078 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.4177, allocations: 89.91 kB / 1.078 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.763e-05/0.4177, allocations: 89.02 kB / 1.078 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.4178, allocations: 7.984 kB / 1.078 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.932e-05/0.4178, allocations: 0 / 1.078 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.825e-05/0.4178, allocations: 4 kB / 1.078 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.4178, allocations: 0 / 1.078 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001141/0.4179, allocations: 121.3 kB / 1.078 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4179, allocations: 4.031 kB / 1.078 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001967/0.4181, allocations: 8 kB / 1.078 GB, free: 3.188 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.0001434/0.4183, allocations: 95.25 kB / 1.078 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.495e-05/0.4184, allocations: 19.94 kB / 1.078 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4184, allocations: 0 / 1.078 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.183e-05/0.4184, allocations: 8 kB / 1.078 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.4186, allocations: 5.656 kB / 1.078 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003921/0.419, allocations: 180.8 kB / 1.078 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.4194, allocations: 0.7004 MB / 1.079 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.366e-05/0.4194, allocations: 8.422 kB / 1.079 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.552e-05/0.4195, allocations: 11.44 kB / 1.079 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.4195, allocations: 3.938 kB / 1.079 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of Templates: time 0.00301/0.4225, allocations: 424.6 kB / 1.079 GB, free: 1.676 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)