Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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_maint.7.0.x_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_maint.7.0.x_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.009064/0.009063, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001466/0.001466, allocations: 191.2 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.699/1.699, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.428/1.428, allocations: 251.7 MB / 0.5094 GB, free: 404 kB / 430.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001449/0.00145, allocations: 67.91 kB / 0.7258 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8216/0.8231, allocations: 104.7 MB / 0.8281 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002649/0.8258, allocations: 0.8545 MB / 0.8289 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0001408/0.826, allocations: 47.72 kB / 0.8289 GB, free: 1.719 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.348e-05/0.826, allocations: 0 / 0.8289 GB, free: 1.719 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 4.638e-05/0.8261, allocations: 11.88 kB / 0.8289 GB, free: 1.707 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.8262, allocations: 15.86 kB / 0.829 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 5.885e-05/0.8263, allocations: 19.97 kB / 0.829 GB, free: 1.672 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.8264, allocations: 63.84 kB / 0.829 GB, free: 1.609 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.8266, allocations: 41.33 kB / 0.8291 GB, free: 1.562 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 7.855e-05/0.8267, allocations: 27.86 kB / 0.8291 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 5.502e-05/0.8267, allocations: 39.78 kB / 0.8291 GB, free: 1.496 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.8268, allocations: 12 kB / 0.8292 GB, free: 1.484 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 1.083e-05/0.8268, allocations: 4 kB / 0.8292 GB, free: 1.48 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.8268, allocations: 11.94 kB / 0.8292 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 5.087e-05/0.8269, allocations: 43.72 kB / 0.8292 GB, free: 1.426 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.827, allocations: 79.16 kB / 0.8293 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.827, allocations: 0 / 0.8293 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.323e-06/0.827, allocations: 7.938 kB / 0.8293 GB, free: 1.344 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.827, allocations: 0 / 0.8293 GB, free: 1.344 MB / 0.6231 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.0005128/0.8276, allocations: 393.5 kB / 0.8297 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.8276, allocations: 15.97 kB / 0.8297 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.8277, allocations: 8.844 kB / 0.8297 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.8279, allocations: 204 kB / 0.8299 GB, free: 0.6484 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.828, allocations: 8.375 kB / 0.8299 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.828, allocations: 8.312 kB / 0.8299 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.8282, allocations: 91.95 kB / 0.83 GB, free: 0.5312 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.8282, allocations: 4.188 kB / 0.83 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.8282, allocations: 11.94 kB / 0.83 GB, free: 0.5156 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.8282, allocations: 0 / 0.83 GB, free: 0.5156 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.602e-05/0.8283, allocations: 35.92 kB / 0.83 GB, free: 492 kB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006406/0.829, allocations: 444.6 kB / 0.8305 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.8291, allocations: 45.25 kB / 0.8305 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.688e-05/0.8292, allocations: 19.97 kB / 0.8305 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.8292, allocations: 0 / 0.8305 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.8292, allocations: 34.55 kB / 0.8306 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.8292, allocations: 0 / 0.8306 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0001794/0.8294, allocations: 57.48 kB / 0.8306 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/0.8295, allocations: 85.36 kB / 0.8307 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.8297, allocations: 169.2 kB / 0.8309 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.8297, allocations: 25.7 kB / 0.8309 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.736e-05/0.8297, allocations: 104 kB / 0.831 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.654e-06/0.8298, allocations: 7.891 kB / 0.831 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.8298, allocations: 17.72 kB / 0.831 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.83, allocations: 318.8 kB / 0.8313 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.809e-05/0.83, allocations: 4 kB / 0.8313 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.744e-05/0.83, allocations: 29.66 kB / 0.8313 GB, free: 15 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.283e-05/0.8301, allocations: 25.72 kB / 0.8314 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8301, allocations: 0 / 0.8314 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.992e-05/0.8302, allocations: 65.44 kB / 0.8314 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.8302, allocations: 4 kB / 0.8314 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.8302, allocations: 7.938 kB / 0.8314 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.8302, allocations: 64 / 0.8314 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.482e-05/0.8303, allocations: 8 kB / 0.8314 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.8303, allocations: 0 / 0.8314 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.888e-05/0.8304, allocations: 11.94 kB / 0.8315 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.8304, allocations: 7.922 kB / 0.8315 GB, free: 14.86 MB / 0.6387 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 0.0001036/0.8305, allocations: 114.9 kB / 0.8316 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.8305, allocations: 11.84 kB / 0.8316 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.573e-05/0.8306, allocations: 20.45 kB / 0.8316 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.8306, allocations: 0 / 0.8316 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.8306, allocations: 8 kB / 0.8316 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.8306, allocations: 4 kB / 0.8316 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005339/0.8311, allocations: 482.6 kB / 0.8321 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.8312, allocations: 4.094 kB / 0.8321 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.388e-05/0.8312, allocations: 0 / 0.8321 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.8312, allocations: 7.984 kB / 0.8321 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.8312, allocations: 0 / 0.8321 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.8312, allocations: 3.938 kB / 0.8321 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.8312, allocations: 4.062 kB / 0.8321 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.8313, allocations: 85.83 kB / 0.8322 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.801e-05/0.8314, allocations: 89 kB / 0.8323 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.8314, allocations: 0 / 0.8323 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.357e-05/0.8315, allocations: 0 / 0.8323 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.085e-05/0.8315, allocations: 0 / 0.8323 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.8315, allocations: 8.031 kB / 0.8323 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001109/0.8316, allocations: 125.8 kB / 0.8324 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8316, allocations: 0 / 0.8324 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0001768/0.8318, allocations: 8 kB / 0.8324 GB, free: 13.79 MB / 0.6387 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.0001437/0.8319, allocations: 99.25 kB / 0.8325 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 9.573e-05/0.832, allocations: 27.92 kB / 0.8325 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8321, allocations: 0 / 0.8325 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.451e-05/0.8321, allocations: 8.125 kB / 0.8325 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.8322, allocations: 19.81 kB / 0.8325 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/0.8326, allocations: 166.2 kB / 0.8327 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.8329, allocations: 0.6966 MB / 0.8334 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.374e-05/0.833, allocations: 12.55 kB / 0.8334 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.833, allocations: 11.44 kB / 0.8334 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of SimCode: time 2.2e-07/0.833, allocations: 0 / 0.8334 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of Templates: time 0.003109/0.8361, allocations: 484.4 kB / 0.8339 GB, free: 12.22 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)