Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.00148/0.001481, allocations: 110 kB / 16.37 MB, free: 6.305 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.001653/0.001653, allocations: 189.8 kB / 17.3 MB, free: 5.871 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.664/1.664, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.127/2.127, allocations: 292.3 MB / 0.5496 GB, free: 17.52 MB / 462.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.001467/0.001467, allocations: 71.89 kB / 0.6729 GB, free: 5.758 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2585, allocations: 114.6 MB / 0.7848 GB, free: 3.09 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002253/0.2608, allocations: 0.8451 MB / 0.7856 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001267/0.2609, allocations: 47.72 kB / 0.7857 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.571e-05/0.261, allocations: 4 kB / 0.7857 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.335e-05/0.261, allocations: 11.86 kB / 0.7857 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.413e-05/0.2611, allocations: 11.88 kB / 0.7857 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 4.849e-05/0.2612, allocations: 15.98 kB / 0.7857 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.2613, allocations: 67.83 kB / 0.7858 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.2615, allocations: 41.38 kB / 0.7858 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.004e-05/0.2615, allocations: 31.8 kB / 0.7858 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.218e-05/0.2616, allocations: 35.8 kB / 0.7859 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.2616, allocations: 4 kB / 0.7859 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.12e-05/0.2616, allocations: 8 kB / 0.7859 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.646e-05/0.2617, allocations: 19.92 kB / 0.7859 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.353e-05/0.2617, allocations: 35.73 kB / 0.7859 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.2619, allocations: 91.56 kB / 0.786 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.2619, allocations: 3.938 kB / 0.786 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.596e-06/0.2619, allocations: 4 kB / 0.786 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.2619, allocations: 0 / 0.786 GB, free: 1.812 MB / 0.6544 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.0004618/0.2624, allocations: 379.2 kB / 0.7864 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.2624, allocations: 19.95 kB / 0.7864 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.2625, allocations: 12.75 kB / 0.7864 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.2627, allocations: 188.2 kB / 0.7866 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.2627, allocations: 12.38 kB / 0.7866 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.2627, allocations: 4.375 kB / 0.7866 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.2629, allocations: 95.88 kB / 0.7867 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.2629, allocations: 192 / 0.7867 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.2629, allocations: 19.92 kB / 0.7867 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.2629, allocations: 0 / 0.7867 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.971e-05/0.263, allocations: 39.92 kB / 0.7868 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005797/0.2636, allocations: 444.6 kB / 0.7872 GB, free: 480 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.761e-05/0.2637, allocations: 45.25 kB / 0.7872 GB, free: 416 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.028e-05/0.2637, allocations: 13.72 kB / 0.7873 GB, free: 396 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.2637, allocations: 4.062 kB / 0.7873 GB, free: 392 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.2638, allocations: 34.56 kB / 0.7873 GB, free: 348 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2638, allocations: 0 / 0.7873 GB, free: 348 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001835/0.264, allocations: 65.47 kB / 0.7874 GB, free: 276 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.264, allocations: 77.11 kB / 0.7874 GB, free: 180 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.2641, allocations: 165.5 kB / 0.7876 GB, free: 4 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.4346/0.6988, allocations: 25.7 kB / 0.7876 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.699, allocations: 111.3 kB / 0.7877 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.699, allocations: 4.844 kB / 0.7877 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.785e-05/0.6991, allocations: 17.88 kB / 0.7877 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.692e-05/0.6992, allocations: 322.9 kB / 0.788 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.592e-05/0.6992, allocations: 10.06 kB / 0.7881 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.484e-05/0.6993, allocations: 17.53 kB / 0.7881 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.601e-05/0.6993, allocations: 30.72 kB / 0.7881 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.6993, allocations: 0 / 0.7881 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001462/0.6995, allocations: 60.8 kB / 0.7882 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.6995, allocations: 5.875 kB / 0.7882 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.6995, allocations: 2.844 kB / 0.7882 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.561e-05/0.6996, allocations: 6.219 kB / 0.7882 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.6997, allocations: 6.25 kB / 0.7882 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.6997, allocations: 3.75 kB / 0.7882 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.662e-05/0.6997, allocations: 8.469 kB / 0.7882 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.6998, allocations: 0 / 0.7882 GB, free: 48.12 MB / 0.6544 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.0001002/0.6999, allocations: 116.6 kB / 0.7883 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.596e-05/0.6999, allocations: 15.09 kB / 0.7883 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.023e-05/0.7, allocations: 12.97 kB / 0.7883 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.7, allocations: 3.938 kB / 0.7883 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.7, allocations: 0.75 kB / 0.7883 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/0.7001, allocations: 90.56 kB / 0.7884 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.7001, allocations: 1.172 kB / 0.7884 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.7002, allocations: 2.688 kB / 0.7884 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.7003, allocations: 4.531 kB / 0.7884 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000111/0.7004, allocations: 196.1 kB / 0.7886 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001623/0.7006, allocations: 302.9 kB / 0.7889 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.201e-05/0.7006, allocations: 10.66 kB / 0.7889 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001101/0.7007, allocations: 133.5 kB / 0.789 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of Backend: time 1.172e-06/0.7007, allocations: 0 / 0.789 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004865/0.7012, allocations: 89.97 kB / 0.7891 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0004977/0.7017, allocations: 0.6112 MB / 0.7897 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of Templates: time 0.003114/0.7049, allocations: 0.5681 MB / 0.7903 GB, free: 46.71 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)