Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 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.From_bar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_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.001744/0.001744, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002368/0.002369, allocations: 193.1 kB / 16.13 MB, free: 6.66 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.618/1.618, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.076/3.076, allocations: 472.6 MB / 0.7447 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 66.47 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4113/0.413, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002474/0.4156, allocations: 0.8785 MB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001565/0.4158, allocations: 43.78 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.488e-05/0.4158, allocations: 4 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.193e-05/0.4159, allocations: 7.922 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.555e-05/0.416, allocations: 4 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.088e-05/0.4161, allocations: 12 kB / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.4162, allocations: 59.78 kB / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.4163, allocations: 43.95 kB / 1.069 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.363e-05/0.4164, allocations: 27.86 kB / 1.069 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.228e-05/0.4165, allocations: 19.86 kB / 1.069 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.4165, allocations: 4 kB / 1.069 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.174e-05/0.4165, allocations: 4 kB / 1.069 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/0.4165, allocations: 19.92 kB / 1.069 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.856e-05/0.4166, allocations: 35.69 kB / 1.069 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.4167, allocations: 68.03 kB / 1.069 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4167, allocations: 0 / 1.069 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.123e-06/0.4167, allocations: 0 / 1.069 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.4167, allocations: 4 kB / 1.069 GB, free: 9.645 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.0005561/0.4173, allocations: 379.2 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.4174, allocations: 8.031 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/0.4174, allocations: 8.844 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.4177, allocations: 200.1 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.4177, allocations: 384 / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.4177, allocations: 12.38 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.4179, allocations: 93.3 kB / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.4179, allocations: 192 / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.4179, allocations: 11.88 kB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.418, allocations: 4 kB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.4181, allocations: 39.92 kB / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006496/0.4187, allocations: 444.6 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.073e-05/0.4188, allocations: 41.19 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.088e-05/0.4189, allocations: 17.84 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.4189, allocations: 4 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.4189, allocations: 34.56 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.4189, allocations: 0 / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0002107/0.4191, allocations: 61.47 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.4192, allocations: 85.05 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.4194, allocations: 156.9 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.4194, allocations: 29.7 kB / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.945e-05/0.4195, allocations: 108 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.107e-06/0.4195, allocations: 4.156 kB / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.4195, allocations: 21.72 kB / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002771/0.4198, allocations: 318.8 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.93e-05/0.4198, allocations: 4 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.585e-05/0.4199, allocations: 17.72 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.149e-05/0.4199, allocations: 29.66 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4199, allocations: 0 / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.494e-05/0.42, allocations: 65.53 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.42, allocations: 4 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.4201, allocations: 7.938 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.4201, allocations: 0 / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.986e-05/0.4202, allocations: 4 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.4202, allocations: 3.984 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.525e-05/0.4202, allocations: 11.84 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.4202, allocations: 0 / 1.071 GB, free: 7.199 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.95e-05/0.4203, allocations: 119.7 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.06e-05/0.4204, allocations: 7.906 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.321e-05/0.4204, allocations: 15.81 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.4204, allocations: 4.078 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.4204, allocations: 0 / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.4204, allocations: 4 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004807/0.4209, allocations: 470.7 kB / 1.071 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.421, allocations: 8.062 kB / 1.071 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.064e-05/0.421, allocations: 0 / 1.071 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.421, allocations: 4 kB / 1.071 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.421, allocations: 0 / 1.071 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.421, allocations: 0 / 1.071 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.421, allocations: 3.938 kB / 1.071 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.4212, allocations: 85.83 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.903e-05/0.4212, allocations: 85.02 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.4213, allocations: 0 / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.657e-05/0.4213, allocations: 4 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.306e-05/0.4213, allocations: 0 / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.4213, allocations: 7.984 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001957/0.4215, allocations: 122.1 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4215, allocations: 0 / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002136/0.4218, allocations: 11.91 kB / 1.072 GB, free: 6.152 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.0001297/0.4219, allocations: 103.3 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.729e-05/0.422, allocations: 23.88 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.422, allocations: 0 / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.151e-05/0.422, allocations: 4 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.4222, allocations: 11.94 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003487/0.4226, allocations: 188.7 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.4229, allocations: 0.6887 MB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.838e-05/0.4229, allocations: 12.42 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.423, allocations: 11.44 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.423, allocations: 0 / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of Templates: time 0.003383/0.4264, allocations: 428.6 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1)