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.001697/0.001697, 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.001987/0.001987, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.534/1.534, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.811/2.811, allocations: 472.6 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 62.02 kB / 0.912 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3725, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002132/0.3747, allocations: 0.837 MB / 1.069 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000169/0.3749, allocations: 47.78 kB / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.306e-05/0.375, allocations: 0 / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.991e-05/0.375, allocations: 11.86 kB / 1.069 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.581e-05/0.3751, allocations: 3.938 kB / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.56e-05/0.3752, allocations: 15.98 kB / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.725e-05/0.3753, allocations: 67.78 kB / 1.069 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.3754, allocations: 43.97 kB / 1.069 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.798e-05/0.3755, allocations: 27.86 kB / 1.069 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.645e-05/0.3755, allocations: 27.84 kB / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.3756, allocations: 4 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.366e-05/0.3756, allocations: 15.94 kB / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.065e-05/0.3756, allocations: 15.92 kB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.294e-05/0.3757, allocations: 35.75 kB / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.781e-05/0.3758, allocations: 68.05 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3758, allocations: 0 / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3758, allocations: 0 / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3758, allocations: 0 / 1.069 GB, free: 9.227 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.0003911/0.3762, allocations: 379.2 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.3762, allocations: 8.031 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/0.3763, allocations: 8.844 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.3765, allocations: 208.1 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.3765, allocations: 4.312 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.3765, allocations: 12.38 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.3766, allocations: 85.52 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.3767, allocations: 192 / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.3767, allocations: 7.938 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.3767, allocations: 4 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.462e-05/0.3768, allocations: 39.92 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005172/0.3773, allocations: 436.6 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.116e-05/0.3774, allocations: 37.25 kB / 1.071 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/0.3774, allocations: 21.78 kB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.3774, allocations: 4 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.3774, allocations: 30.56 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.3774, allocations: 0 / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001685/0.3776, allocations: 61.47 kB / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.3777, allocations: 81.36 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.3778, allocations: 161.1 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.3778, allocations: 29.7 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.33e-05/0.3779, allocations: 111.9 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.454e-06/0.3779, allocations: 3.906 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.378, allocations: 17.72 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.3781, allocations: 318.8 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.76e-05/0.3781, allocations: 4 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.605e-05/0.3782, allocations: 25.66 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.232e-05/0.3782, allocations: 25.72 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3782, allocations: 0 / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.235e-05/0.3783, allocations: 61.53 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.3783, allocations: 4 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3784, allocations: 7.938 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.3784, allocations: 0 / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.934e-05/0.3784, allocations: 8.062 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.3784, allocations: 3.984 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.203e-05/0.3785, allocations: 11.84 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.3785, allocations: 0 / 1.071 GB, free: 6.789 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 8.804e-05/0.3786, allocations: 113.8 kB / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.3786, allocations: 7.906 kB / 1.072 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.468e-05/0.3787, allocations: 19.75 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3787, allocations: 0 / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.3787, allocations: 96 / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3787, allocations: 11.98 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003729/0.3791, allocations: 474.7 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3791, allocations: 4 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.888e-05/0.3791, allocations: 0 / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3791, allocations: 7.938 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.3791, allocations: 0 / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3791, allocations: 0 / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.3791, allocations: 4.062 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.057e-05/0.3792, allocations: 81.83 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.176e-05/0.3793, allocations: 85.02 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.3793, allocations: 0 / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.279e-05/0.3793, allocations: 4 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.449e-05/0.3794, allocations: 0 / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.3794, allocations: 4.031 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.511e-05/0.3795, allocations: 125.5 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3795, allocations: 0 / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001877/0.3797, allocations: 11.91 kB / 1.072 GB, free: 5.738 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.3798, allocations: 103.7 kB / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.995e-05/0.3799, allocations: 16 kB / 1.073 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3799, allocations: 0 / 1.073 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.409e-05/0.3799, allocations: 12.06 kB / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/0.3801, allocations: 18.28 kB / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002997/0.3804, allocations: 158.8 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.3807, allocations: 0.6969 MB / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.397e-05/0.3807, allocations: 8.422 kB / 1.073 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/0.3807, allocations: 11.44 kB / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3807, allocations: 0 / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of Templates: time 0.002479/0.3832, allocations: 448.5 kB / 1.074 GB, free: 4.219 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)