Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, 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.001275/0.001275, allocations: 195 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.498/1.498, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.986/2.986, allocations: 472.6 MB / 0.7451 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 62.09 kB / 0.912 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4223/0.4237, 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_BtuPerHour): time 0.002429/0.4262, allocations: 0.8225 MB / 1.069 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001463/0.4264, allocations: 47.78 kB / 1.069 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.05e-05/0.4264, allocations: 0 / 1.069 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.709e-05/0.4265, allocations: 11.86 kB / 1.069 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.4266, allocations: 3.938 kB / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.026e-05/0.4267, allocations: 15.98 kB / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.4268, allocations: 67.78 kB / 1.069 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.427, allocations: 51.88 kB / 1.069 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.622e-05/0.4271, allocations: 27.86 kB / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.349e-05/0.4271, allocations: 27.86 kB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.4272, allocations: 4 kB / 1.069 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.213e-05/0.4272, allocations: 8 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.316e-05/0.4272, allocations: 15.92 kB / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.302e-05/0.4273, allocations: 35.73 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.4274, allocations: 68.05 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4274, allocations: 4 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.737e-06/0.4274, allocations: 0 / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.4274, allocations: 3.938 kB / 1.069 GB, free: 9.234 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.0004511/0.4278, allocations: 380.9 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.4279, allocations: 12.03 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.4279, allocations: 12.83 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.4282, allocations: 184.2 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.4282, allocations: 12.31 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.4282, allocations: 8.375 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.4284, allocations: 97.45 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.4284, allocations: 192 / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.4284, allocations: 7.938 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.4284, allocations: 4 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.422e-05/0.4285, allocations: 39.97 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005669/0.4291, allocations: 436.5 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.328e-05/0.4291, allocations: 33.22 kB / 1.071 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.297e-05/0.4292, allocations: 21.81 kB / 1.071 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.273e-06/0.4292, allocations: 0 / 1.071 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.4292, allocations: 38.56 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.4292, allocations: 0 / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001695/0.4294, allocations: 57.47 kB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.4295, allocations: 81.11 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.4296, allocations: 161.1 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.4296, allocations: 25.7 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.808e-05/0.4297, allocations: 112.2 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.939e-06/0.4297, allocations: 11.91 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.4297, allocations: 17.72 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.136e-05/0.4298, allocations: 314.8 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.83e-05/0.4299, allocations: 8 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.108e-05/0.4299, allocations: 17.72 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.397e-05/0.4299, allocations: 37.64 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4299, allocations: 0 / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.549e-05/0.43, allocations: 57.55 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.43, allocations: 4 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.4301, allocations: 3.938 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.4301, allocations: 3.938 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.404e-05/0.4301, allocations: 15.98 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.4302, allocations: 0 / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.088e-05/0.4302, allocations: 11.84 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.4302, allocations: 0 / 1.071 GB, free: 6.793 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 7.811e-05/0.4303, allocations: 118.4 kB / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.266e-05/0.4303, allocations: 7.906 kB / 1.072 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.4304, allocations: 15.75 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.4304, allocations: 3.984 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4304, allocations: 0 / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.4304, allocations: 0 / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000338/0.4307, allocations: 474.8 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4307, allocations: 0 / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.801e-05/0.4308, allocations: 4 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4308, allocations: 96 / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.4308, allocations: 0 / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.4308, allocations: 4 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4308, allocations: 3.984 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.573e-05/0.4309, allocations: 89.83 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.767e-05/0.4309, allocations: 85.02 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.431, allocations: 0 / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.937e-05/0.431, allocations: 0 / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.64e-05/0.431, allocations: 3.984 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.431, allocations: 4 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.79e-05/0.4311, allocations: 121.5 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4311, allocations: 0 / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001837/0.4313, allocations: 11.91 kB / 1.072 GB, free: 5.75 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.0001121/0.4314, allocations: 103.3 kB / 1.072 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.237e-05/0.4315, allocations: 19.94 kB / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4315, allocations: 0 / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.041e-05/0.4315, allocations: 4 kB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.4317, allocations: 7.938 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002931/0.432, allocations: 171 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.4322, allocations: 0.6924 MB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.149e-05/0.4323, allocations: 8.422 kB / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.379e-05/0.4323, allocations: 15.44 kB / 1.073 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.4323, allocations: 0 / 1.073 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of Templates: time 0.002291/0.4346, allocations: 453.5 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1)