Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_bar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001628, allocations: 102.9 kB / 16.29 MB, free: 6.43 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.00157/0.00157, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.659/1.659, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.943/1.943, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.001453/0.001453, allocations: 67.91 kB / 0.6722 GB, free: 6.496 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3075, allocations: 114.6 MB / 0.7841 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002367/0.3099, allocations: 0.8375 MB / 0.7849 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00013/0.3101, allocations: 55.77 kB / 0.7849 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.444e-05/0.3101, allocations: 0 / 0.7849 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.685e-05/0.3102, allocations: 7.875 kB / 0.785 GB, free: 2.918 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.006e-05/0.3103, allocations: 11.81 kB / 0.785 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 5.309e-05/0.3103, allocations: 23.97 kB / 0.785 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.3104, allocations: 71.83 kB / 0.7851 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.3106, allocations: 41.38 kB / 0.7851 GB, free: 2.77 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.875e-05/0.3107, allocations: 27.81 kB / 0.7851 GB, free: 2.742 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.623e-05/0.3107, allocations: 35.78 kB / 0.7852 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.3108, allocations: 4 kB / 0.7852 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.288e-05/0.3108, allocations: 8 kB / 0.7852 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.701e-05/0.3108, allocations: 27.86 kB / 0.7852 GB, free: 2.668 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.813e-05/0.3108, allocations: 31.75 kB / 0.7852 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.311, allocations: 87.84 kB / 0.7853 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.311, allocations: 3.938 kB / 0.7853 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.273e-06/0.311, allocations: 0 / 0.7853 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.311, allocations: 0 / 0.7853 GB, free: 2.547 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.0004419/0.3115, allocations: 391.1 kB / 0.7857 GB, free: 2.113 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3115, allocations: 12.03 kB / 0.7857 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.3115, allocations: 12.75 kB / 0.7857 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.3117, allocations: 202.7 kB / 0.7859 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.3118, allocations: 8.375 kB / 0.7859 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.3118, allocations: 8.375 kB / 0.7859 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.3119, allocations: 91.89 kB / 0.786 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.312, allocations: 192 / 0.786 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.312, allocations: 7.938 kB / 0.786 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.312, allocations: 0 / 0.786 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.246e-05/0.3121, allocations: 39.92 kB / 0.7861 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005447/0.3126, allocations: 448.6 kB / 0.7865 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.279e-05/0.3127, allocations: 41.25 kB / 0.7865 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.271e-05/0.3127, allocations: 13.77 kB / 0.7865 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-06/0.3127, allocations: 8 kB / 0.7865 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.3128, allocations: 34.56 kB / 0.7866 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3128, allocations: 0 / 0.7866 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001748/0.313, allocations: 61.47 kB / 0.7866 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.313, allocations: 77.11 kB / 0.7867 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.3132, allocations: 173.7 kB / 0.7869 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.3132, allocations: 29.7 kB / 0.7869 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.478e-05/0.3133, allocations: 111.9 kB / 0.787 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.081e-05/0.3133, allocations: 7.906 kB / 0.787 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.3133, allocations: 13.72 kB / 0.787 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3135, allocations: 318.8 kB / 0.7873 GB, free: 240 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.975e-05/0.3135, allocations: 8 kB / 0.7873 GB, free: 232 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.722e-05/0.3135, allocations: 21.72 kB / 0.7874 GB, free: 204 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.781e-05/0.3136, allocations: 33.64 kB / 0.7874 GB, free: 164 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3136, allocations: 0 / 0.7874 GB, free: 164 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001171/0.3137, allocations: 61.55 kB / 0.7875 GB, free: 96 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.3137, allocations: 4 kB / 0.7875 GB, free: 92 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.3137, allocations: 3.938 kB / 0.7875 GB, free: 88 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.3138, allocations: 7.938 kB / 0.7875 GB, free: 80 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.377e-05/0.3138, allocations: 7.984 kB / 0.7875 GB, free: 72 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.3139, allocations: 3.938 kB / 0.7875 GB, free: 68 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.235e-05/0.3139, allocations: 8.062 kB / 0.7875 GB, free: 60 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.3139, allocations: 0 / 0.7875 GB, free: 60 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 0.4221/0.736, allocations: 112.8 kB / 0.7876 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.296e-05/0.7361, allocations: 11.31 kB / 0.7876 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.94e-05/0.7362, allocations: 15.56 kB / 0.7876 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.7362, allocations: 0 / 0.7876 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.7362, allocations: 4.078 kB / 0.7876 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.7362, allocations: 0.75 kB / 0.7876 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004805/0.7367, allocations: 481.4 kB / 0.7881 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.7367, allocations: 0 / 0.7881 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.863e-05/0.7368, allocations: 7.203 kB / 0.7881 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.7368, allocations: 2.344 kB / 0.7881 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.7368, allocations: 3.375 kB / 0.7881 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.7368, allocations: 3.172 kB / 0.7881 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.7368, allocations: 1.219 kB / 0.7881 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.7369, allocations: 83.73 kB / 0.7882 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.809e-05/0.737, allocations: 90.36 kB / 0.7883 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.737, allocations: 3.094 kB / 0.7883 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.711e-05/0.7371, allocations: 0.8438 kB / 0.7883 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.7371, allocations: 4.5 kB / 0.7883 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.7371, allocations: 3.312 kB / 0.7883 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001194/0.7372, allocations: 130.7 kB / 0.7884 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7372, allocations: 2.656 kB / 0.7884 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000258/0.7375, allocations: 11.09 kB / 0.7884 GB, free: 47.36 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.0002019/0.7377, allocations: 98.56 kB / 0.7885 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001472/0.7379, allocations: 23.47 kB / 0.7885 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.7379, allocations: 0 / 0.7885 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-05/0.7379, allocations: 7.719 kB / 0.7885 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.7381, allocations: 16.25 kB / 0.7886 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/0.7386, allocations: 163.9 kB / 0.7887 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.7388, allocations: 0.6962 MB / 0.7894 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.664e-05/0.7389, allocations: 9.516 kB / 0.7894 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.7389, allocations: 10.81 kB / 0.7894 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of SimCode: time 4.31e-07/0.739, allocations: 3.719 kB / 0.7894 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of Templates: time 0.003556/0.7425, allocations: 484 kB / 0.7899 GB, free: 46.44 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1)