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.008519/0.008519, 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.001238/0.001238, allocations: 190.6 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.716/1.716, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.475/1.475, allocations: 251.7 MB / 0.5094 GB, free: 400 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.001936/0.001936, allocations: 75.88 kB / 0.7258 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7658/0.7678, allocations: 104.7 MB / 0.828 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002703/0.7705, allocations: 0.8544 MB / 0.8289 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0002309/0.7708, allocations: 51.72 kB / 0.8289 GB, free: 1.664 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.7709, allocations: 4 kB / 0.8289 GB, free: 1.66 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 6.28e-05/0.771, allocations: 7.875 kB / 0.8289 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0001462/0.7712, allocations: 11.86 kB / 0.829 GB, free: 1.641 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 7.988e-05/0.7713, allocations: 19.98 kB / 0.829 GB, free: 1.621 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.7714, allocations: 63.84 kB / 0.829 GB, free: 1.559 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002197/0.7717, allocations: 45.36 kB / 0.8291 GB, free: 1.508 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.7718, allocations: 31.81 kB / 0.8291 GB, free: 1.477 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 8.268e-05/0.7719, allocations: 31.78 kB / 0.8291 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.7719, allocations: 8 kB / 0.8291 GB, free: 1.438 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 1.287e-05/0.7719, allocations: 4 kB / 0.8292 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 3.384e-05/0.772, allocations: 23.92 kB / 0.8292 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 6.426e-05/0.772, allocations: 35.75 kB / 0.8292 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.7722, allocations: 87.14 kB / 0.8293 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.289e-05/0.7723, allocations: 3.984 kB / 0.8293 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.256e-06/0.7723, allocations: 0 / 0.8293 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.7723, allocations: 0 / 0.8293 GB, free: 1.289 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.0006411/0.7729, allocations: 393.3 kB / 0.8297 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.773, allocations: 8.031 kB / 0.8297 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.791e-05/0.7731, allocations: 8.844 kB / 0.8297 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.7734, allocations: 210 kB / 0.8299 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.7734, allocations: 4.375 kB / 0.8299 GB, free: 0.5938 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.7734, allocations: 8.375 kB / 0.8299 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.7736, allocations: 99.89 kB / 0.83 GB, free: 488 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.7736, allocations: 192 / 0.83 GB, free: 488 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.7737, allocations: 3.938 kB / 0.83 GB, free: 484 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.7737, allocations: 0 / 0.83 GB, free: 484 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.384e-05/0.7738, allocations: 43.92 kB / 0.83 GB, free: 440 kB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006766/0.7745, allocations: 448.6 kB / 0.8305 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 7.037e-05/0.7745, allocations: 45.23 kB / 0.8305 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.126e-05/0.7746, allocations: 15.97 kB / 0.8305 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.7746, allocations: 7.984 kB / 0.8305 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.7746, allocations: 34.56 kB / 0.8306 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 1.452e-06/0.7746, allocations: 0 / 0.8306 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0002269/0.7749, allocations: 57.48 kB / 0.8306 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/0.7749, allocations: 77.11 kB / 0.8307 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.7751, allocations: 169.2 kB / 0.8309 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.7752, allocations: 33.95 kB / 0.8309 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 7.436e-05/0.7752, allocations: 104 kB / 0.831 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.035e-05/0.7753, allocations: 7.906 kB / 0.831 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.7753, allocations: 13.72 kB / 0.831 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.7754, allocations: 322.8 kB / 0.8313 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.249e-05/0.7755, allocations: 8 kB / 0.8313 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.854e-05/0.7755, allocations: 17.72 kB / 0.8313 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.12e-05/0.7756, allocations: 33.64 kB / 0.8314 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.7756, allocations: 0 / 0.8314 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.452e-05/0.7757, allocations: 65.45 kB / 0.8314 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.7757, allocations: 8 kB / 0.8314 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.7757, allocations: 3.938 kB / 0.8314 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.7757, allocations: 0 / 0.8314 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.793e-05/0.7758, allocations: 7.984 kB / 0.8315 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.7758, allocations: 4 kB / 0.8315 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.522e-05/0.7759, allocations: 11.94 kB / 0.8315 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.7759, allocations: 0 / 0.8315 GB, free: 14.8 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 9.351e-05/0.776, allocations: 114.9 kB / 0.8316 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.658e-05/0.776, allocations: 7.906 kB / 0.8316 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.003e-05/0.7761, allocations: 20.45 kB / 0.8316 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.7761, allocations: 11.92 kB / 0.8316 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.7761, allocations: 4 kB / 0.8316 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.7761, allocations: 0 / 0.8316 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000422/0.7765, allocations: 486.7 kB / 0.8321 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.7765, allocations: 0 / 0.8321 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.694e-05/0.7766, allocations: 4 kB / 0.8321 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.7766, allocations: 0 / 0.8321 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.7766, allocations: 0 / 0.8321 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.441e-06/0.7766, allocations: 3.984 kB / 0.8321 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7766, allocations: 3.938 kB / 0.8321 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.7767, allocations: 81.91 kB / 0.8322 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.934e-05/0.7768, allocations: 93 kB / 0.8323 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.7768, allocations: 0 / 0.8323 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.401e-05/0.7768, allocations: 0 / 0.8323 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.941e-05/0.7769, allocations: 0 / 0.8323 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.7769, allocations: 4 kB / 0.8323 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001041/0.777, allocations: 125.8 kB / 0.8324 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.777, allocations: 4.031 kB / 0.8324 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0001871/0.7772, allocations: 8 kB / 0.8324 GB, free: 13.74 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.0001269/0.7773, allocations: 103.2 kB / 0.8325 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001011/0.7774, allocations: 19.94 kB / 0.8325 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7774, allocations: 0 / 0.8325 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.596e-05/0.7774, allocations: 8 kB / 0.8325 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.7776, allocations: 15.88 kB / 0.8325 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/0.778, allocations: 174.4 kB / 0.8327 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.7783, allocations: 0.7044 MB / 0.8334 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.554e-05/0.7783, allocations: 4.438 kB / 0.8334 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.869e-05/0.7784, allocations: 11.44 kB / 0.8334 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of SimCode: time 2.91e-07/0.7784, allocations: 0 / 0.8334 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of Templates: time 0.002731/0.7811, allocations: 496.5 kB / 0.8339 GB, free: 12.16 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)