Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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_bar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 104.7 kB / 16.27 MB, free: 5.977 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.001791/0.001791, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.395/1.395, allocations: 205.1 MB / 223.1 MB, free: 12.28 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 1.82/1.82, allocations: 292.3 MB / 0.5495 GB, free: 17.54 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.001777/0.001777, allocations: 79.42 kB / 0.6722 GB, free: 6.551 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2833, allocations: 114.6 MB / 0.784 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002201/0.2856, allocations: 0.8376 MB / 0.7849 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001213/0.2857, allocations: 47.72 kB / 0.7849 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.445e-05/0.2857, allocations: 4 kB / 0.7849 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.109e-05/0.2858, allocations: 11.86 kB / 0.7849 GB, free: 2.977 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.905e-05/0.2859, allocations: 11.88 kB / 0.7849 GB, free: 2.965 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 4.981e-05/0.286, allocations: 23.92 kB / 0.7849 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.2861, allocations: 67.84 kB / 0.785 GB, free: 2.875 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.2862, allocations: 37.33 kB / 0.785 GB, free: 2.836 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.557e-05/0.2863, allocations: 39.78 kB / 0.7851 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.783e-05/0.2864, allocations: 31.84 kB / 0.7851 GB, free: 2.766 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.2864, allocations: 4 kB / 0.7851 GB, free: 2.762 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.518e-05/0.2864, allocations: 11.94 kB / 0.7851 GB, free: 2.75 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.435e-05/0.2865, allocations: 12 kB / 0.7851 GB, free: 2.738 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.12e-05/0.2865, allocations: 35.73 kB / 0.7852 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.2866, allocations: 83.91 kB / 0.7853 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2867, allocations: 0 / 0.7853 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2867, allocations: 3.938 kB / 0.7853 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.836e-06/0.2867, allocations: 0 / 0.7853 GB, free: 2.617 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.0004606/0.2871, allocations: 391.1 kB / 0.7856 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.2872, allocations: 12.03 kB / 0.7856 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.611e-05/0.2872, allocations: 12.75 kB / 0.7857 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.2875, allocations: 196.2 kB / 0.7858 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.2875, allocations: 384 / 0.7858 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.2875, allocations: 16.38 kB / 0.7859 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.2877, allocations: 98.7 kB / 0.786 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.2877, allocations: 192 / 0.786 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.2877, allocations: 7.938 kB / 0.786 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.2877, allocations: 7.922 kB / 0.786 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.888e-05/0.2878, allocations: 35.98 kB / 0.786 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005491/0.2884, allocations: 452.5 kB / 0.7864 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.365e-05/0.2884, allocations: 41.22 kB / 0.7865 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.069e-05/0.2885, allocations: 13.75 kB / 0.7865 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.2885, allocations: 4.062 kB / 0.7865 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.2885, allocations: 38.55 kB / 0.7865 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2885, allocations: 4 kB / 0.7865 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001779/0.2887, allocations: 57.48 kB / 0.7866 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.2888, allocations: 77.11 kB / 0.7867 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.2889, allocations: 165.5 kB / 0.7868 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.289, allocations: 29.7 kB / 0.7868 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.232e-05/0.289, allocations: 107.9 kB / 0.7869 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.133e-05/0.2891, allocations: 15.89 kB / 0.787 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.2891, allocations: 13.97 kB / 0.787 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.2892, allocations: 322.8 kB / 0.7873 GB, free: 304 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.027e-05/0.2893, allocations: 8 kB / 0.7873 GB, free: 296 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.471e-05/0.2893, allocations: 21.72 kB / 0.7873 GB, free: 268 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.996e-05/0.2893, allocations: 25.66 kB / 0.7873 GB, free: 236 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2894, allocations: 0 / 0.7873 GB, free: 236 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000101/0.2895, allocations: 65.59 kB / 0.7874 GB, free: 164 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.2895, allocations: 7.938 kB / 0.7874 GB, free: 156 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2895, allocations: 7.875 kB / 0.7874 GB, free: 148 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.2895, allocations: 4 kB / 0.7874 GB, free: 144 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.62e-05/0.2896, allocations: 4 kB / 0.7874 GB, free: 140 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.2896, allocations: 0 / 0.7874 GB, free: 140 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.338e-05/0.2896, allocations: 4 kB / 0.7874 GB, free: 136 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.698e-06/0.2896, allocations: 0 / 0.7874 GB, free: 136 kB / 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 7.933e-05/0.2897, allocations: 117.8 kB / 0.7875 GB, free: 8 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.4289/0.7186, allocations: 16.61 kB / 0.7876 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.862e-05/0.7187, allocations: 13.66 kB / 0.7876 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.7187, allocations: 0.7812 kB / 0.7876 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.7187, allocations: 1.094 kB / 0.7876 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.7187, allocations: 0.8125 kB / 0.7876 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004805/0.7192, allocations: 480.5 kB / 0.788 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.7192, allocations: 5.594 kB / 0.788 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.57e-05/0.7193, allocations: 3.469 kB / 0.788 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.7193, allocations: 0 / 0.788 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.7193, allocations: 3.25 kB / 0.788 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.7193, allocations: 0 / 0.788 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.7193, allocations: 4.75 kB / 0.788 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.265e-05/0.7194, allocations: 85.14 kB / 0.7881 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.758e-05/0.7195, allocations: 88.3 kB / 0.7882 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.7195, allocations: 1.094 kB / 0.7882 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.041e-05/0.7195, allocations: 3.281 kB / 0.7882 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.68e-05/0.7195, allocations: 5.328 kB / 0.7882 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.7195, allocations: 2.094 kB / 0.7882 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.015e-05/0.7196, allocations: 134.5 kB / 0.7883 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7196, allocations: 0 / 0.7883 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002334/0.7199, allocations: 7.938 kB / 0.7884 GB, free: 47.68 MB / 0.6544 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.0001123/0.72, allocations: 101.1 kB / 0.7885 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.326e-05/0.7201, allocations: 24.45 kB / 0.7885 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.7201, allocations: 0 / 0.7885 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.336e-05/0.7201, allocations: 8.062 kB / 0.7885 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.7203, allocations: 5.844 kB / 0.7885 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002974/0.7206, allocations: 197.4 kB / 0.7887 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.7207, allocations: 0.6954 MB / 0.7894 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.698e-05/0.7208, allocations: 11.72 kB / 0.7894 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of SimCode: time 5.51e-07/0.7208, allocations: 2.312 kB / 0.7894 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of Templates: time 0.00208/0.7229, allocations: 0.9317 MB / 0.7903 GB, free: 46.73 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1)