Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001732/0.001732, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001327/0.001327, allocations: 193.6 kB / 16.14 MB, free: 6.688 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.513/1.513, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.931/2.931, allocations: 472.6 MB / 0.7447 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001317, allocations: 67.83 kB / 0.9114 GB, free: 33.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4259/0.4272, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002256/0.4295, allocations: 0.8786 MB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000108/0.4296, allocations: 39.78 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.447e-05/0.4297, allocations: 4 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.296e-05/0.4297, allocations: 3.938 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.283e-05/0.4298, allocations: 3.938 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.735e-05/0.4299, allocations: 19.98 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.328e-05/0.43, allocations: 55.84 kB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.4302, allocations: 43.95 kB / 1.069 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.217e-05/0.4302, allocations: 23.81 kB / 1.069 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.965e-05/0.4303, allocations: 31.78 kB / 1.069 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.4303, allocations: 4 kB / 1.069 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.16e-05/0.4304, allocations: 4 kB / 1.069 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.977e-05/0.4304, allocations: 8 kB / 1.069 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.023e-05/0.4304, allocations: 39.67 kB / 1.069 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.4305, allocations: 64.05 kB / 1.069 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4306, allocations: 4 kB / 1.069 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4306, allocations: 0 / 1.069 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.4306, allocations: 4 kB / 1.069 GB, free: 9.66 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.0004876/0.4311, allocations: 383.2 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.4311, allocations: 11.97 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/0.4312, allocations: 8.844 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.4314, allocations: 196.1 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.4314, allocations: 4.375 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.4314, allocations: 8.375 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.4316, allocations: 91.95 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.4316, allocations: 192 / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.4316, allocations: 3.938 kB / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.4317, allocations: 7.984 kB / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.995e-05/0.4317, allocations: 43.92 kB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006821/0.4324, allocations: 436.5 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.437e-05/0.4325, allocations: 49.27 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.41e-05/0.4326, allocations: 13.84 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-06/0.4326, allocations: 4 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.4326, allocations: 38.56 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.4326, allocations: 0 / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001819/0.4328, allocations: 53.48 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/0.4329, allocations: 85.09 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.433, allocations: 154.3 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.4331, allocations: 33.64 kB / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.405e-05/0.4331, allocations: 104 kB / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.125e-06/0.4331, allocations: 3.906 kB / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.4332, allocations: 25.95 kB / 1.07 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.4333, allocations: 314.8 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.934e-05/0.4333, allocations: 7.984 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.996e-05/0.4334, allocations: 21.72 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.094e-05/0.4334, allocations: 21.72 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4334, allocations: 0 / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.509e-05/0.4335, allocations: 65.53 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.4335, allocations: 4 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.4336, allocations: 7.938 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.4336, allocations: 0 / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.268e-05/0.4336, allocations: 7.938 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.4337, allocations: 0 / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.005e-05/0.4337, allocations: 15.78 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.882e-06/0.4337, allocations: 3.984 kB / 1.071 GB, free: 7.211 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.457e-05/0.4338, allocations: 121.8 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.4339, allocations: 11.89 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.02e-05/0.4339, allocations: 15.81 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.4339, allocations: 0 / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4339, allocations: 0 / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4339, allocations: 4 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003693/0.4343, allocations: 462.8 kB / 1.071 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.4343, allocations: 8.062 kB / 1.071 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.085e-05/0.4343, allocations: 4 kB / 1.071 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4343, allocations: 4 kB / 1.071 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-06/0.4343, allocations: 0 / 1.071 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.4344, allocations: 3.984 kB / 1.071 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4344, allocations: 0 / 1.071 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.354e-05/0.4345, allocations: 73.84 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.4345, allocations: 93.03 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.4345, allocations: 0 / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.413e-05/0.4346, allocations: 8 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.909e-05/0.4346, allocations: 3.938 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.4346, allocations: 4 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.524e-05/0.4347, allocations: 121.7 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4347, allocations: 0 / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001929/0.4349, allocations: 11.91 kB / 1.072 GB, free: 6.164 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.0001311/0.435, allocations: 99.25 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.855e-05/0.4351, allocations: 19.98 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4351, allocations: 0 / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.444e-05/0.4352, allocations: 11.94 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.4354, allocations: 12.62 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003321/0.4357, allocations: 180.8 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.436, allocations: 0.6965 MB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.214e-05/0.436, allocations: 4.438 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.4361, allocations: 15.44 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.4361, allocations: 0 / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of Templates: time 0.002863/0.4389, allocations: 440.5 kB / 1.073 GB, free: 4.633 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1)