Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001412/0.001412, 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.00175/0.00175, allocations: 194.9 kB / 16.14 MB, free: 6.703 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.451/1.451, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.894/2.894, allocations: 472.6 MB / 0.7447 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 67.72 kB / 0.9114 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.422, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.003115/0.4252, allocations: 0.8824 MB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001701/0.4254, allocations: 43.78 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.147e-05/0.4255, allocations: 4 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.48e-05/0.4255, allocations: 11.92 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.174e-05/0.4257, allocations: 3.938 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.788e-05/0.4257, allocations: 15.98 kB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.4259, allocations: 51.86 kB / 1.069 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.426, allocations: 39.97 kB / 1.069 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.679e-05/0.4261, allocations: 27.86 kB / 1.069 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.563e-05/0.4262, allocations: 27.78 kB / 1.069 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.4262, allocations: 7.984 kB / 1.069 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.4262, allocations: 4 kB / 1.069 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.478e-05/0.4262, allocations: 15.94 kB / 1.069 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.217e-05/0.4263, allocations: 35.73 kB / 1.069 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.4264, allocations: 60.06 kB / 1.069 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4264, allocations: 0 / 1.069 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4265, allocations: 4 kB / 1.069 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.4265, allocations: 0 / 1.069 GB, free: 9.719 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.0005605/0.427, allocations: 383.2 kB / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.4271, allocations: 8.031 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.4271, allocations: 8.844 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.4274, allocations: 200.1 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.4274, allocations: 8.359 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.4275, allocations: 8.375 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.4276, allocations: 91.94 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.4277, allocations: 192 / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.4277, allocations: 15.88 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.4277, allocations: 0 / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.587e-05/0.4278, allocations: 39.92 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006644/0.4285, allocations: 436.6 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.338e-05/0.4285, allocations: 41.19 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.984e-05/0.4286, allocations: 21.84 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.4286, allocations: 0 / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.4286, allocations: 38.55 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.4286, allocations: 0 / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0002084/0.4289, allocations: 57.48 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.4289, allocations: 81.11 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.4291, allocations: 164.8 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.4291, allocations: 25.7 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.635e-05/0.4292, allocations: 108 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.978e-06/0.4292, allocations: 4.156 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.4293, allocations: 21.72 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.4294, allocations: 322.8 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.106e-05/0.4294, allocations: 3.938 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.507e-05/0.4295, allocations: 25.7 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.618e-05/0.4295, allocations: 21.72 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4296, allocations: 4 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.851e-05/0.4297, allocations: 57.55 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.4297, allocations: 9.406 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.4297, allocations: 3.938 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.4297, allocations: 3.984 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.662e-05/0.4298, allocations: 4 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.4298, allocations: 4 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.834e-05/0.4299, allocations: 7.844 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.4299, allocations: 0 / 1.071 GB, free: 7.273 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 0.0001137/0.43, allocations: 117.9 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.895e-05/0.4301, allocations: 7.906 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.841e-05/0.4301, allocations: 19.8 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.4301, allocations: 0 / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.4301, allocations: 0 / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.4301, allocations: 4 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004615/0.4306, allocations: 478.7 kB / 1.071 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4306, allocations: 0 / 1.071 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.132e-05/0.4306, allocations: 3.938 kB / 1.071 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.4307, allocations: 4 kB / 1.071 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.4307, allocations: 0 / 1.071 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4307, allocations: 0 / 1.071 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4307, allocations: 0 / 1.071 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.4308, allocations: 85.86 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.947e-05/0.4309, allocations: 85.02 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.4309, allocations: 3.984 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.936e-05/0.4309, allocations: 4 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.4309, allocations: 0 / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.4309, allocations: 0 / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.802e-05/0.431, allocations: 123.2 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.104e-06/0.4311, allocations: 0 / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002102/0.4313, allocations: 15.84 kB / 1.072 GB, free: 6.223 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.0001546/0.4314, allocations: 99.28 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.615e-05/0.4315, allocations: 16 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4315, allocations: 3.938 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.41e-05/0.4316, allocations: 7.938 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.4317, allocations: 17.89 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/0.4321, allocations: 180.8 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.4324, allocations: 0.6887 MB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.864e-05/0.4325, allocations: 16.42 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.734e-05/0.4325, allocations: 7.438 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of SimCode: time 7.02e-07/0.4325, allocations: 4 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of Templates: time 0.00274/0.4353, allocations: 436.6 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1)