Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.0091/0.0091, allocations: 172.2 kB / 16.27 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.466/1.466, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.887/2.887, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000436/0.000436, allocations: 21.94 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4114/0.4118, allocations: 162.2 MB / 1.074 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001115/0.413, allocations: 0.5474 MB / 1.075 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001149/0.4131, allocations: 43.78 kB / 1.075 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.347e-05/0.4132, allocations: 0 / 1.075 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.571e-05/0.4132, allocations: 7.922 kB / 1.075 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.902e-05/0.4133, allocations: 3.938 kB / 1.075 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.552e-05/0.4134, allocations: 12 kB / 1.075 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.4135, allocations: 59.84 kB / 1.075 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.4136, allocations: 35.97 kB / 1.075 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.828e-05/0.4137, allocations: 23.86 kB / 1.075 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.798e-05/0.4138, allocations: 19.8 kB / 1.075 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.4138, allocations: 0 / 1.075 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.778e-06/0.4138, allocations: 4 kB / 1.075 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.4138, allocations: 11.94 kB / 1.075 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.956e-05/0.4139, allocations: 53.45 kB / 1.075 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.414, allocations: 68.02 kB / 1.075 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.414, allocations: 0 / 1.075 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.756e-06/0.414, allocations: 0 / 1.075 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.414, allocations: 0 / 1.075 GB, free: 6.684 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.0004378/0.4144, allocations: 363.3 kB / 1.075 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.4145, allocations: 8.031 kB / 1.075 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/0.4145, allocations: 8.844 kB / 1.075 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.4148, allocations: 204.1 kB / 1.076 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.4148, allocations: 384 / 1.076 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.4148, allocations: 12.38 kB / 1.076 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.415, allocations: 89.27 kB / 1.076 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.415, allocations: 192 / 1.076 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.415, allocations: 11.88 kB / 1.076 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.415, allocations: 4 kB / 1.076 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.386e-05/0.4151, allocations: 43.86 kB / 1.076 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006407/0.4158, allocations: 432.6 kB / 1.076 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.579e-05/0.4158, allocations: 45.27 kB / 1.076 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.296e-05/0.4159, allocations: 25.84 kB / 1.076 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.335e-06/0.4159, allocations: 0 / 1.076 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.4159, allocations: 34.56 kB / 1.076 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.416, allocations: 0 / 1.076 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001927/0.4161, allocations: 61.48 kB / 1.076 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.4162, allocations: 81.09 kB / 1.076 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.4164, allocations: 161.4 kB / 1.077 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.4164, allocations: 25.7 kB / 1.077 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.4166, allocations: 111.9 kB / 1.077 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.959e-06/0.4166, allocations: 7.844 kB / 1.077 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.4167, allocations: 13.7 kB / 1.077 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.4168, allocations: 318.8 kB / 1.077 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.225e-05/0.4168, allocations: 11.98 kB / 1.077 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.514e-05/0.4169, allocations: 13.72 kB / 1.077 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.015e-05/0.4169, allocations: 29.72 kB / 1.077 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4169, allocations: 0 / 1.077 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.113e-05/0.417, allocations: 61.53 kB / 1.077 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.4171, allocations: 4 kB / 1.077 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.4171, allocations: 3.938 kB / 1.077 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.4171, allocations: 0 / 1.077 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.06e-05/0.4172, allocations: 8 kB / 1.077 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.4172, allocations: 4.062 kB / 1.077 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.253e-05/0.4172, allocations: 7.938 kB / 1.077 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.4172, allocations: 4 kB / 1.077 GB, free: 4.258 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.497e-05/0.4173, allocations: 109.8 kB / 1.077 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.652e-05/0.4174, allocations: 11.91 kB / 1.077 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.507e-05/0.4174, allocations: 15.73 kB / 1.077 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.4174, allocations: 4 kB / 1.077 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.4174, allocations: 0 / 1.077 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.4175, allocations: 96 / 1.077 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004532/0.4179, allocations: 486.6 kB / 1.078 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4179, allocations: 0 / 1.078 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.037e-05/0.4179, allocations: 4 kB / 1.078 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.418, allocations: 0 / 1.078 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.418, allocations: 0 / 1.078 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.418, allocations: 4 kB / 1.078 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.418, allocations: 3.984 kB / 1.078 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.793e-05/0.4181, allocations: 77.91 kB / 1.078 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.145e-05/0.4182, allocations: 93 kB / 1.078 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.4182, allocations: 3.938 kB / 1.078 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.979e-05/0.4182, allocations: 0 / 1.078 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.514e-05/0.4182, allocations: 3.938 kB / 1.078 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.4182, allocations: 4 kB / 1.078 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.452e-05/0.4183, allocations: 125.3 kB / 1.078 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4184, allocations: 0 / 1.078 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001831/0.4185, allocations: 4 kB / 1.078 GB, free: 3.211 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.0001871/0.4187, allocations: 103.2 kB / 1.078 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.101e-05/0.4188, allocations: 15.98 kB / 1.078 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.4188, allocations: 0 / 1.078 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-05/0.4189, allocations: 7.938 kB / 1.078 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/0.4191, allocations: 17.56 kB / 1.078 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000372/0.4194, allocations: 168.6 kB / 1.078 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/0.4199, allocations: 0.7004 MB / 1.079 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.593e-05/0.4199, allocations: 4.438 kB / 1.079 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.731e-05/0.4199, allocations: 11.44 kB / 1.079 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of SimCode: time 1.894e-06/0.4199, allocations: 0 / 1.079 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of Templates: time 0.002787/0.4227, allocations: 436.5 kB / 1.079 GB, free: 1.691 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1)