Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001506/0.001507, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002276/0.002276, allocations: 195.1 kB / 16.26 MB, free: 6.621 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.744/1.744, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.771/1.771, allocations: 292.2 MB / 0.5485 GB, free: 13.59 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.001366/0.001366, allocations: 71.72 kB / 0.671 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3163, allocations: 114.6 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.003236/0.3196, allocations: 0.8943 MB / 0.7837 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002471/0.3199, allocations: 55.7 kB / 0.7838 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.32, allocations: 0 / 0.7838 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.843e-05/0.3201, allocations: 3.938 kB / 0.7838 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.3203, allocations: 7.938 kB / 0.7838 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.479e-05/0.3204, allocations: 15.98 kB / 0.7838 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.3205, allocations: 63.84 kB / 0.7839 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002167/0.3207, allocations: 45.38 kB / 0.7839 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.967e-05/0.3208, allocations: 31.8 kB / 0.7839 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.723e-05/0.3209, allocations: 31.8 kB / 0.784 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.3209, allocations: 4 kB / 0.784 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.245e-05/0.321, allocations: 8 kB / 0.784 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.594e-05/0.321, allocations: 19.92 kB / 0.784 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.11e-05/0.3211, allocations: 39.73 kB / 0.784 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.3212, allocations: 83.91 kB / 0.7841 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.3212, allocations: 0 / 0.7841 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.507e-06/0.3213, allocations: 0 / 0.7841 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.517e-06/0.3213, allocations: 0 / 0.7841 GB, free: 12.59 MB / 0.6075 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.0006742/0.3219, allocations: 387.2 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.322, allocations: 8.031 kB / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.082e-05/0.3221, allocations: 20.73 kB / 0.7845 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/0.3224, allocations: 192.2 kB / 0.7847 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.3224, allocations: 12.31 kB / 0.7847 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.3225, allocations: 8.375 kB / 0.7847 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.3227, allocations: 91.94 kB / 0.7848 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3227, allocations: 192 / 0.7848 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.3227, allocations: 7.938 kB / 0.7848 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.3227, allocations: 7.938 kB / 0.7848 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.3228, allocations: 39.97 kB / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007247/0.3236, allocations: 449.5 kB / 0.7853 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.3237, allocations: 41.28 kB / 0.7853 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.754e-05/0.3237, allocations: 25.78 kB / 0.7854 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.3238, allocations: 0 / 0.7854 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.3238, allocations: 34.56 kB / 0.7854 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.3238, allocations: 3.938 kB / 0.7854 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002484/0.3241, allocations: 61.53 kB / 0.7855 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.012e-05/0.3241, allocations: 81.05 kB / 0.7855 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.3243, allocations: 171.6 kB / 0.7857 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.3244, allocations: 25.7 kB / 0.7857 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.073e-05/0.3245, allocations: 111.9 kB / 0.7858 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.3245, allocations: 7.906 kB / 0.7858 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.3245, allocations: 13.72 kB / 0.7858 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3247, allocations: 322.8 kB / 0.7862 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.529e-05/0.3247, allocations: 8 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.934e-05/0.3248, allocations: 17.7 kB / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.065e-05/0.3248, allocations: 33.72 kB / 0.7862 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3248, allocations: 0 / 0.7862 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001073/0.325, allocations: 61.55 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.325, allocations: 7.984 kB / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.325, allocations: 3.938 kB / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.325, allocations: 0 / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.902e-05/0.3251, allocations: 8 kB / 0.7863 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.3251, allocations: 4.062 kB / 0.7863 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.448e-05/0.3252, allocations: 11.91 kB / 0.7863 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.3252, allocations: 0 / 0.7863 GB, free: 10.09 MB / 0.6075 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.507e-05/0.3253, allocations: 118.4 kB / 0.7864 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.823e-05/0.3253, allocations: 7.906 kB / 0.7864 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.551e-05/0.3254, allocations: 20.48 kB / 0.7864 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3254, allocations: 0 / 0.7864 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.3254, allocations: 0 / 0.7864 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.3254, allocations: 0 / 0.7864 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004556/0.3259, allocations: 482.7 kB / 0.7869 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.3259, allocations: 7.922 kB / 0.7869 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.686e-05/0.3259, allocations: 4 kB / 0.7869 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3259, allocations: 0 / 0.7869 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.3259, allocations: 4 kB / 0.7869 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.326, allocations: 7.938 kB / 0.7869 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.326, allocations: 0 / 0.7869 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.3261, allocations: 77.91 kB / 0.787 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.12e-05/0.3261, allocations: 100.8 kB / 0.7871 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.3262, allocations: 0 / 0.7871 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.481e-05/0.3262, allocations: 4 kB / 0.7871 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.363e-05/0.3262, allocations: 0 / 0.7871 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.3262, allocations: 0 / 0.7871 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001152/0.3263, allocations: 136 kB / 0.7872 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of sort global known variables: time 5.41e-07/0.3263, allocations: 0 / 0.7872 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001919/0.3265, allocations: 8 kB / 0.7872 GB, free: 9.016 MB / 0.6075 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.0001573/0.3267, allocations: 95.25 kB / 0.7873 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001103/0.3268, allocations: 19.94 kB / 0.7874 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3268, allocations: 0 / 0.7874 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.552e-05/0.3269, allocations: 8 kB / 0.7874 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.327, allocations: 24.11 kB / 0.7874 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003801/0.3274, allocations: 182.2 kB / 0.7876 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.3277, allocations: 0.7002 MB / 0.7882 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.71e-05/0.3278, allocations: 8.422 kB / 0.7882 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.491e-05/0.3278, allocations: 11.44 kB / 0.7883 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of SimCode: time 2.81e-07/0.3278, allocations: 0 / 0.7883 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of Templates: time 0.003657/0.3315, allocations: 495.1 kB / 0.7887 GB, free: 7.426 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)