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.001196/0.001196, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001492/0.001493, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.725/1.725, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.855/1.855, allocations: 292.3 MB / 0.5489 GB, free: 12.9 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.001569/0.001569, allocations: 71.3 kB / 0.6715 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3178, allocations: 114.6 MB / 0.7834 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.00257/0.3204, allocations: 0.8403 MB / 0.7842 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001612/0.3206, allocations: 51.72 kB / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.55e-05/0.3207, allocations: 4 kB / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.49e-05/0.3208, allocations: 11.86 kB / 0.7843 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.3209, allocations: 7.875 kB / 0.7843 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.744e-05/0.321, allocations: 19.98 kB / 0.7843 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.3211, allocations: 59.84 kB / 0.7843 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002239/0.3213, allocations: 49.38 kB / 0.7844 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.434e-05/0.3214, allocations: 31.8 kB / 0.7844 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.404e-05/0.3215, allocations: 31.78 kB / 0.7844 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.3215, allocations: 8 kB / 0.7845 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.294e-05/0.3215, allocations: 4 kB / 0.7845 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.937e-05/0.3216, allocations: 15.94 kB / 0.7845 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.274e-05/0.3216, allocations: 39.73 kB / 0.7845 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.3218, allocations: 83.91 kB / 0.7846 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3218, allocations: 0 / 0.7846 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3218, allocations: 0 / 0.7846 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.3218, allocations: 4 kB / 0.7846 GB, free: 12.25 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.0004985/0.3223, allocations: 387.1 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.3224, allocations: 12.03 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.3224, allocations: 12.75 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.3226, allocations: 200.1 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.3227, allocations: 12.38 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.3227, allocations: 8.375 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.3229, allocations: 84.89 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.3229, allocations: 192 / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.3229, allocations: 15.88 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.3229, allocations: 0 / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.613e-05/0.323, allocations: 35.98 kB / 0.7853 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005513/0.3236, allocations: 452.5 kB / 0.7858 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.841e-05/0.3236, allocations: 37.34 kB / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.34e-05/0.3237, allocations: 17.78 kB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.3237, allocations: 4 kB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.3237, allocations: 38.44 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.3237, allocations: 0 / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001888/0.3239, allocations: 61.53 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.324, allocations: 81.05 kB / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.3242, allocations: 164.5 kB / 0.7861 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.3242, allocations: 25.95 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.777e-05/0.3243, allocations: 119.9 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.364e-05/0.3243, allocations: 11.89 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.3243, allocations: 13.72 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.3245, allocations: 318.8 kB / 0.7866 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.3245, allocations: 8 kB / 0.7866 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.312e-05/0.3245, allocations: 25.72 kB / 0.7866 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.93e-05/0.3246, allocations: 25.72 kB / 0.7867 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3246, allocations: 0 / 0.7867 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.619e-05/0.3247, allocations: 65.53 kB / 0.7867 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3247, allocations: 6.812 kB / 0.7867 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.3247, allocations: 7.938 kB / 0.7867 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.3247, allocations: 0 / 0.7867 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.229e-05/0.3248, allocations: 4 kB / 0.7868 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3248, allocations: 0 / 0.7868 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.556e-05/0.3248, allocations: 11.97 kB / 0.7868 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.3249, allocations: 0 / 0.7868 GB, free: 9.766 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 8.406e-05/0.3249, allocations: 121.8 kB / 0.7869 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.325, allocations: 7.906 kB / 0.7869 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.965e-05/0.325, allocations: 16.5 kB / 0.7869 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.325, allocations: 4.078 kB / 0.7869 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.325, allocations: 4 kB / 0.7869 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.3251, allocations: 0 / 0.7869 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004/0.3255, allocations: 490.6 kB / 0.7874 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3255, allocations: 4 kB / 0.7874 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.061e-05/0.3255, allocations: 0 / 0.7874 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3255, allocations: 4 kB / 0.7874 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.3255, allocations: 0 / 0.7874 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3255, allocations: 0 / 0.7874 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.3255, allocations: 0 / 0.7874 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.373e-05/0.3256, allocations: 93.77 kB / 0.7875 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.837e-05/0.3257, allocations: 92.92 kB / 0.7876 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.3257, allocations: 3.984 kB / 0.7876 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.292e-05/0.3257, allocations: 0 / 0.7876 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.477e-05/0.3258, allocations: 0 / 0.7876 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.3258, allocations: 4 kB / 0.7876 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.278e-05/0.3259, allocations: 126.1 kB / 0.7877 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3259, allocations: 4.031 kB / 0.7877 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001857/0.3261, allocations: 8 kB / 0.7877 GB, free: 8.691 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.0001204/0.3262, allocations: 99.25 kB / 0.7878 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000101/0.3263, allocations: 23.92 kB / 0.7878 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3263, allocations: 0 / 0.7878 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.454e-05/0.3263, allocations: 8 kB / 0.7878 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.3265, allocations: 11.94 kB / 0.7878 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/0.3268, allocations: 170.5 kB / 0.788 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.3271, allocations: 0.7002 MB / 0.7887 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.195e-05/0.3272, allocations: 8.422 kB / 0.7887 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.3272, allocations: 11.44 kB / 0.7887 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of SimCode: time 1.91e-07/0.3272, allocations: 0 / 0.7887 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of Templates: time 0.002838/0.3301, allocations: 485.5 kB / 0.7892 GB, free: 7.125 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)