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.001608/0.001608, allocations: 108 kB / 15.61 MB, free: 152 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.002171/0.002171, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.757/1.757, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.848/1.848, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001684/0.001684, allocations: 68.75 kB / 0.6715 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3479, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002853/0.3508, allocations: 0.849 MB / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001474/0.351, allocations: 47.78 kB / 0.7842 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.63e-05/0.3511, allocations: 0 / 0.7842 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.206e-05/0.3512, allocations: 7.875 kB / 0.7842 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.3513, allocations: 19.8 kB / 0.7843 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.175e-05/0.3514, allocations: 19.98 kB / 0.7843 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000134/0.3515, allocations: 67.84 kB / 0.7843 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002165/0.3517, allocations: 37.39 kB / 0.7844 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.855e-05/0.3518, allocations: 35.73 kB / 0.7844 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.958e-05/0.3519, allocations: 31.84 kB / 0.7844 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.027e-05/0.3519, allocations: 4 kB / 0.7845 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.596e-05/0.352, allocations: 8 kB / 0.7845 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.551e-05/0.352, allocations: 19.92 kB / 0.7845 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.264e-05/0.3521, allocations: 35.73 kB / 0.7845 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.3523, allocations: 79.92 kB / 0.7846 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.3523, allocations: 0 / 0.7846 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.439e-06/0.3523, allocations: 3.938 kB / 0.7846 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.3523, allocations: 4 kB / 0.7846 GB, free: 12.2 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.000648/0.353, allocations: 391.1 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/0.353, allocations: 8.031 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/0.3531, allocations: 16.75 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.3533, allocations: 196.1 kB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.3534, allocations: 4.375 kB / 0.7852 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.3534, allocations: 12.38 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.3536, allocations: 96.88 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.3536, allocations: 192 / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.3537, allocations: 3.938 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.3537, allocations: 4 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.832e-05/0.3538, allocations: 39.92 kB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007507/0.3545, allocations: 448.4 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.069e-05/0.3546, allocations: 41.28 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.755e-05/0.3547, allocations: 13.84 kB / 0.7858 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.3547, allocations: 0 / 0.7858 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.3547, allocations: 42.56 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3548, allocations: 0 / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002288/0.355, allocations: 61.47 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.503e-05/0.3551, allocations: 77.11 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.3553, allocations: 165.5 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.3553, allocations: 29.7 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.667e-05/0.3554, allocations: 111.8 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.3554, allocations: 16.14 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.33e-05/0.3555, allocations: 21.7 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3557, allocations: 314.8 kB / 0.7866 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.504e-05/0.3557, allocations: 11.98 kB / 0.7866 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.293e-05/0.3557, allocations: 17.72 kB / 0.7866 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.227e-05/0.3558, allocations: 25.72 kB / 0.7867 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3558, allocations: 4 kB / 0.7867 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.726e-05/0.3559, allocations: 65.53 kB / 0.7867 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.356, allocations: 4 kB / 0.7867 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.356, allocations: 3.938 kB / 0.7867 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.356, allocations: 0 / 0.7867 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.004e-05/0.3561, allocations: 8 kB / 0.7868 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.3561, allocations: 4 kB / 0.7868 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.771e-05/0.3561, allocations: 7.906 kB / 0.7868 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.3562, allocations: 0 / 0.7868 GB, free: 9.719 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 0.0001169/0.3563, allocations: 117.9 kB / 0.7869 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/0.3563, allocations: 19.77 kB / 0.7869 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.361e-05/0.3564, allocations: 16.5 kB / 0.7869 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3564, allocations: 0 / 0.7869 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3564, allocations: 0 / 0.7869 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3564, allocations: 0 / 0.7869 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000505/0.3569, allocations: 486.7 kB / 0.7874 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3569, allocations: 4.062 kB / 0.7874 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.613e-05/0.357, allocations: 4 kB / 0.7874 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.357, allocations: 4.031 kB / 0.7874 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.357, allocations: 3.984 kB / 0.7874 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.357, allocations: 4 kB / 0.7874 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.357, allocations: 0 / 0.7874 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.3571, allocations: 81.83 kB / 0.7875 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.376e-05/0.3572, allocations: 92.92 kB / 0.7876 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.3572, allocations: 7.984 kB / 0.7876 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.429e-05/0.3572, allocations: 0 / 0.7876 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.3573, allocations: 3.938 kB / 0.7876 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.3573, allocations: 0 / 0.7876 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001304/0.3574, allocations: 130.1 kB / 0.7877 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3574, allocations: 0 / 0.7877 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002352/0.3577, allocations: 8 kB / 0.7877 GB, free: 8.645 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.000164/0.3578, allocations: 99.28 kB / 0.7878 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001547/0.358, allocations: 19.98 kB / 0.7878 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.358, allocations: 0 / 0.7878 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.997e-05/0.358, allocations: 11.94 kB / 0.7878 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.3582, allocations: 14.59 kB / 0.7878 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005301/0.3588, allocations: 174.5 kB / 0.788 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/0.3593, allocations: 0.6963 MB / 0.7887 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.789e-05/0.3593, allocations: 12.42 kB / 0.7887 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.576e-05/0.3594, allocations: 11.44 kB / 0.7887 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of SimCode: time 2.01e-07/0.3594, allocations: 0 / 0.7887 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of Templates: time 0.00325/0.3626, allocations: 492.2 kB / 0.7892 GB, free: 7.07 MB / 0.6075 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)