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.001409/0.001409, allocations: 109.4 kB / 15.69 MB, free: 128 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.002016/0.002016, allocations: 187.9 kB / 16.62 MB, free: 6.582 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.647/1.647, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.851/1.851, allocations: 292.3 MB / 0.549 GB, free: 12.79 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.002312/0.002312, allocations: 67.88 kB / 0.6723 GB, free: 25.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3201, allocations: 114.5 MB / 0.7841 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002568/0.3227, allocations: 0.8509 MB / 0.785 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001328/0.3229, allocations: 51.72 kB / 0.785 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.931e-05/0.323, allocations: 0 / 0.785 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.187e-05/0.323, allocations: 11.86 kB / 0.785 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.967e-05/0.3231, allocations: 11.88 kB / 0.785 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.836e-05/0.3232, allocations: 15.98 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.3233, allocations: 71.81 kB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.3235, allocations: 41.39 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.499e-05/0.3235, allocations: 31.8 kB / 0.7852 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.173e-05/0.3236, allocations: 27.8 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.3236, allocations: 8 kB / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.282e-05/0.3236, allocations: 12 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.41e-05/0.3237, allocations: 15.92 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.507e-05/0.3237, allocations: 39.73 kB / 0.7853 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.3239, allocations: 87.56 kB / 0.7854 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3239, allocations: 3.938 kB / 0.7854 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3239, allocations: 0 / 0.7854 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.3239, allocations: 0 / 0.7854 GB, free: 11.5 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.0005383/0.3244, allocations: 383.2 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.3245, allocations: 16.02 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/0.3245, allocations: 16.75 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.3248, allocations: 192.2 kB / 0.7859 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.3248, allocations: 4.375 kB / 0.7859 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.3249, allocations: 8.375 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.3251, allocations: 96.81 kB / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3251, allocations: 192 / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.3251, allocations: 7.938 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.3251, allocations: 8 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.826e-05/0.3252, allocations: 39.92 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000627/0.3258, allocations: 440.6 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.741e-05/0.3259, allocations: 37.16 kB / 0.7866 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.438e-05/0.326, allocations: 25.81 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.326, allocations: 0 / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.326, allocations: 34.56 kB / 0.7866 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.326, allocations: 0 / 0.7866 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.000237/0.3263, allocations: 61.47 kB / 0.7867 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.3263, allocations: 81.11 kB / 0.7867 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.3265, allocations: 168.8 kB / 0.7869 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.3266, allocations: 25.7 kB / 0.7869 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.123e-05/0.3266, allocations: 111.9 kB / 0.787 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.083e-05/0.3267, allocations: 7.906 kB / 0.787 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.633e-05/0.3267, allocations: 13.72 kB / 0.7871 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.3268, allocations: 322.8 kB / 0.7874 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.126e-05/0.3269, allocations: 8 kB / 0.7874 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.959e-05/0.3269, allocations: 25.7 kB / 0.7874 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.017e-05/0.327, allocations: 29.66 kB / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.327, allocations: 0 / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.474e-05/0.3271, allocations: 65.53 kB / 0.7875 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.3271, allocations: 6.656 kB / 0.7875 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.3271, allocations: 3.938 kB / 0.7875 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.3271, allocations: 3.938 kB / 0.7875 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.243e-05/0.3272, allocations: 8.062 kB / 0.7875 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3272, allocations: 4 kB / 0.7875 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.46e-05/0.3273, allocations: 3.906 kB / 0.7875 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.3273, allocations: 4 kB / 0.7875 GB, free: 9.016 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 7.539e-05/0.3274, allocations: 114.5 kB / 0.7876 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.795e-05/0.3274, allocations: 7.906 kB / 0.7876 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.3275, allocations: 20.48 kB / 0.7877 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3275, allocations: 96 / 0.7877 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3275, allocations: 3.984 kB / 0.7877 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3275, allocations: 4 kB / 0.7877 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004389/0.3279, allocations: 486.7 kB / 0.7881 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3279, allocations: 0 / 0.7881 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.258e-05/0.328, allocations: 4 kB / 0.7881 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.328, allocations: 0 / 0.7881 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.328, allocations: 0 / 0.7881 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.328, allocations: 8 kB / 0.7881 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.328, allocations: 0 / 0.7881 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.904e-05/0.3281, allocations: 85.83 kB / 0.7882 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.789e-05/0.3282, allocations: 92.92 kB / 0.7883 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.3282, allocations: 0 / 0.7883 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.591e-05/0.3282, allocations: 4 kB / 0.7883 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.855e-05/0.3282, allocations: 0 / 0.7883 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/0.3283, allocations: 7.922 kB / 0.7883 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000106/0.3284, allocations: 134.1 kB / 0.7885 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3284, allocations: 0 / 0.7885 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002025/0.3286, allocations: 8 kB / 0.7885 GB, free: 7.945 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.0001319/0.3287, allocations: 95.25 kB / 0.7886 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.545e-05/0.3288, allocations: 19.94 kB / 0.7886 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3288, allocations: 0 / 0.7886 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.605e-05/0.3288, allocations: 8.188 kB / 0.7886 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.329, allocations: 19.98 kB / 0.7886 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003345/0.3294, allocations: 174.2 kB / 0.7888 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.3296, allocations: 0.7002 MB / 0.7894 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.579e-05/0.3297, allocations: 12.42 kB / 0.7895 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.3297, allocations: 11.44 kB / 0.7895 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.3297, allocations: 3.938 kB / 0.7895 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of Templates: time 0.002577/0.3323, allocations: 481.5 kB / 0.7899 GB, free: 6.371 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)