Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_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_1.6_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.001474/0.001474, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.00175/0.00175, allocations: 192 kB / 16.14 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.626/1.626, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.042/3.042, allocations: 472.6 MB / 0.7447 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 69.72 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4225, allocations: 159.9 MB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002582/0.4252, allocations: 0.8902 MB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001109/0.4253, allocations: 43.78 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.402e-05/0.4254, allocations: 8 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.492e-05/0.4255, allocations: 3.938 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.506e-05/0.4256, allocations: 3.938 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.816e-05/0.4256, allocations: 15.98 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.4257, allocations: 59.84 kB / 1.069 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.4259, allocations: 35.97 kB / 1.069 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.681e-05/0.426, allocations: 31.8 kB / 1.069 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.451e-05/0.426, allocations: 23.86 kB / 1.069 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.426, allocations: 4 kB / 1.069 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.098e-05/0.4261, allocations: 4 kB / 1.069 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.776e-05/0.4261, allocations: 19.91 kB / 1.069 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.872e-05/0.4261, allocations: 31.75 kB / 1.069 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.4263, allocations: 64.05 kB / 1.069 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4263, allocations: 7.938 kB / 1.069 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4263, allocations: 0 / 1.069 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.4263, allocations: 0 / 1.069 GB, free: 9.73 MB / 0.8262 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.0004788/0.4268, allocations: 379.2 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.4268, allocations: 8.031 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.4269, allocations: 8.844 kB / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.4271, allocations: 204.1 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.4271, allocations: 8.375 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.4271, allocations: 12.31 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.4273, allocations: 89.36 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.4273, allocations: 4.188 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.4274, allocations: 7.938 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.4274, allocations: 0 / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.073e-05/0.4274, allocations: 39.92 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005627/0.428, allocations: 436.5 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.368e-05/0.4281, allocations: 41.28 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.657e-05/0.4281, allocations: 21.84 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.4282, allocations: 0 / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.4282, allocations: 34.56 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.4282, allocations: 0 / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001817/0.4284, allocations: 61.47 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.4284, allocations: 85.05 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.4286, allocations: 160.9 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.4286, allocations: 25.7 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.839e-05/0.4287, allocations: 112.2 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.728e-06/0.4287, allocations: 3.906 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.4287, allocations: 17.72 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.4289, allocations: 318.8 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.454e-05/0.4289, allocations: 8 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.401e-05/0.4289, allocations: 17.72 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.969e-05/0.429, allocations: 25.72 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.429, allocations: 0 / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.259e-05/0.429, allocations: 61.62 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.4291, allocations: 8 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.4291, allocations: 7.922 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.4291, allocations: 0 / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.669e-05/0.4292, allocations: 8 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.4292, allocations: 0 / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.006e-05/0.4292, allocations: 7.844 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.4292, allocations: 4.062 kB / 1.071 GB, free: 7.289 MB / 0.8262 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 9.012e-05/0.4293, allocations: 129.7 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.155e-05/0.4294, allocations: 7.906 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.517e-05/0.4294, allocations: 7.812 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.4294, allocations: 11.94 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4294, allocations: 0 / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.4294, allocations: 0 / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003624/0.4298, allocations: 474.8 kB / 1.071 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.4298, allocations: 0 / 1.071 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.028e-05/0.4298, allocations: 7.984 kB / 1.071 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4298, allocations: 0 / 1.071 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.4299, allocations: 0 / 1.071 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4299, allocations: 0 / 1.071 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4299, allocations: 0 / 1.071 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.847e-05/0.43, allocations: 85.91 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/0.43, allocations: 85 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.43, allocations: 4 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.965e-05/0.4301, allocations: 3.938 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.39e-05/0.4301, allocations: 0 / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.4301, allocations: 0 / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.401e-05/0.4302, allocations: 122.1 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4302, allocations: 0 / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001857/0.4304, allocations: 15.91 kB / 1.072 GB, free: 6.238 MB / 0.8262 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.0001305/0.4305, allocations: 105.5 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.969e-05/0.4306, allocations: 16 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4306, allocations: 0 / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.417e-05/0.4306, allocations: 7.938 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.4308, allocations: 13.66 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003264/0.4311, allocations: 184.8 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.4314, allocations: 0.6926 MB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.409e-05/0.4315, allocations: 12.42 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.4315, allocations: 11.44 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.4315, allocations: 0 / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of Templates: time 0.00267/0.4342, allocations: 424.6 kB / 1.073 GB, free: 4.723 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1)