Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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.008167/0.008167, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001235/0.001236, allocations: 192.5 kB / 16.67 MB, free: 5.52 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.715/1.715, allocations: 205.1 MB / 222.5 MB, free: 12.25 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.57/1.57, allocations: 251.7 MB / 0.5094 GB, free: 456 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.001498/0.001498, allocations: 71.89 kB / 0.7258 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9302/0.9317, allocations: 104.7 MB / 0.8281 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002162/0.9339, allocations: 0.8428 MB / 0.8289 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0001412/0.934, allocations: 51.72 kB / 0.8289 GB, free: 1.727 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.921e-05/0.9341, allocations: 4 kB / 0.8289 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 4.31e-05/0.9342, allocations: 11.86 kB / 0.8289 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 8.954e-05/0.9343, allocations: 7.875 kB / 0.8289 GB, free: 1.703 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 6.152e-05/0.9343, allocations: 19.98 kB / 0.829 GB, free: 1.684 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.9345, allocations: 71.77 kB / 0.829 GB, free: 1.613 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.9347, allocations: 45.38 kB / 0.8291 GB, free: 1.562 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 5.79e-05/0.9347, allocations: 27.86 kB / 0.8291 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 7.64e-05/0.9348, allocations: 35.72 kB / 0.8291 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/0.9348, allocations: 8 kB / 0.8291 GB, free: 1.492 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 1.076e-05/0.9349, allocations: 4 kB / 0.8292 GB, free: 1.488 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 2.603e-05/0.9349, allocations: 15.94 kB / 0.8292 GB, free: 1.473 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 4.835e-05/0.9349, allocations: 39.73 kB / 0.8292 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.9351, allocations: 79.2 kB / 0.8293 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.9351, allocations: 8 kB / 0.8293 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9351, allocations: 0 / 0.8293 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.9351, allocations: 0 / 0.8293 GB, free: 1.352 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.0005719/0.9357, allocations: 389.5 kB / 0.8297 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.9357, allocations: 11.97 kB / 0.8297 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.634e-05/0.9358, allocations: 12.84 kB / 0.8297 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.9361, allocations: 204 kB / 0.8299 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.9361, allocations: 4.375 kB / 0.8299 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.9361, allocations: 12.38 kB / 0.8299 GB, free: 0.6445 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.9363, allocations: 99.88 kB / 0.83 GB, free: 0.5352 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.9363, allocations: 192 / 0.83 GB, free: 0.5352 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.9363, allocations: 7.938 kB / 0.83 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.9363, allocations: 0 / 0.83 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.009e-05/0.9364, allocations: 39.98 kB / 0.83 GB, free: 500 kB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006322/0.9371, allocations: 452.5 kB / 0.8305 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 7.616e-05/0.9372, allocations: 37.22 kB / 0.8305 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.108e-05/0.9372, allocations: 15.97 kB / 0.8305 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-06/0.9372, allocations: 0 / 0.8305 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.9373, allocations: 38.59 kB / 0.8306 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 2.675e-06/0.9373, allocations: 3.984 kB / 0.8306 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0001987/0.9375, allocations: 65.47 kB / 0.8306 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.785e-05/0.9375, allocations: 77.11 kB / 0.8307 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.9377, allocations: 165.7 kB / 0.8309 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.9377, allocations: 29.7 kB / 0.8309 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 7.406e-05/0.9378, allocations: 104 kB / 0.831 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 9.197e-06/0.9378, allocations: 12.09 kB / 0.831 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.9379, allocations: 21.7 kB / 0.831 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.938, allocations: 318.8 kB / 0.8313 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.425e-05/0.9381, allocations: 11.98 kB / 0.8313 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.544e-05/0.9381, allocations: 17.72 kB / 0.8313 GB, free: 15 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.838e-05/0.9382, allocations: 25.66 kB / 0.8314 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.9382, allocations: 4 kB / 0.8314 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.516e-05/0.9383, allocations: 65.5 kB / 0.8314 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.9383, allocations: 4 kB / 0.8314 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.9383, allocations: 7.938 kB / 0.8314 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.9383, allocations: 0 / 0.8314 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.586e-05/0.9384, allocations: 4 kB / 0.8314 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.9384, allocations: 3.938 kB / 0.8315 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.522e-05/0.9385, allocations: 7.938 kB / 0.8315 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.9385, allocations: 3.938 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.000104/0.9386, allocations: 119 kB / 0.8316 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.9386, allocations: 7.906 kB / 0.8316 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.9387, allocations: 24.44 kB / 0.8316 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.9387, allocations: 4 kB / 0.8316 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.9387, allocations: 0 / 0.8316 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.9387, allocations: 0 / 0.8316 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004532/0.9392, allocations: 490.7 kB / 0.8321 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.9392, allocations: 0 / 0.8321 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.502e-05/0.9392, allocations: 4 kB / 0.8321 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.9392, allocations: 0 / 0.8321 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.9392, allocations: 0 / 0.8321 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.9392, allocations: 0 / 0.8321 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.9392, allocations: 4 kB / 0.8321 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.898e-05/0.9393, allocations: 89.8 kB / 0.8322 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.786e-05/0.9394, allocations: 89.02 kB / 0.8323 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.9394, allocations: 0 / 0.8323 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.488e-05/0.9394, allocations: 0 / 0.8323 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.494e-05/0.9395, allocations: 3.984 kB / 0.8323 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.9395, allocations: 4 kB / 0.8323 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001054/0.9396, allocations: 125.8 kB / 0.8324 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9396, allocations: 0 / 0.8324 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0001907/0.9398, allocations: 8 kB / 0.8324 GB, free: 13.8 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.000119/0.9399, allocations: 103.3 kB / 0.8325 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 9.813e-05/0.94, allocations: 23.92 kB / 0.8325 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.94, allocations: 0 / 0.8325 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.489e-05/0.94, allocations: 8 kB / 0.8325 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/0.9402, allocations: 19.81 kB / 0.8325 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00039/0.9406, allocations: 166.5 kB / 0.8327 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.941, allocations: 0.7044 MB / 0.8334 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.85e-05/0.9411, allocations: 8.422 kB / 0.8334 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.119e-05/0.9411, allocations: 11.44 kB / 0.8334 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of SimCode: time 2.31e-07/0.9411, allocations: 0 / 0.8334 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of Templates: time 0.003252/0.9444, allocations: 494.6 kB / 0.8339 GB, free: 12.21 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)