Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001583/0.001583, allocations: 108 kB / 15.6 MB, free: 132 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.002006/0.002006, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.432/1.432, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.916/2.916, allocations: 472.6 MB / 0.7451 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 57.73 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3695, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002139/0.3717, allocations: 0.8255 MB / 1.069 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001106/0.3718, allocations: 43.78 kB / 1.069 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.152e-05/0.3719, allocations: 4 kB / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.994e-05/0.3719, allocations: 11.86 kB / 1.069 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.877e-05/0.372, allocations: 11.88 kB / 1.069 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.323e-05/0.3721, allocations: 15.98 kB / 1.069 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.3722, allocations: 63.84 kB / 1.069 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.3724, allocations: 43.94 kB / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.82e-05/0.3724, allocations: 31.8 kB / 1.069 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.158e-05/0.3725, allocations: 23.86 kB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.3725, allocations: 15.94 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.169e-05/0.3725, allocations: 7.938 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.208e-05/0.3726, allocations: 15.98 kB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.3726, allocations: 27.75 kB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.3727, allocations: 76.03 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3727, allocations: 0 / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3727, allocations: 0 / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.3727, allocations: 0 / 1.069 GB, free: 9.188 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.0004044/0.3732, allocations: 379.2 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.3732, allocations: 8.031 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/0.3732, allocations: 16.83 kB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.3734, allocations: 196.1 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.3735, allocations: 4.375 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.3735, allocations: 12.38 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.3736, allocations: 83.95 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.3737, allocations: 192 / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.3737, allocations: 7.938 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.3737, allocations: 4 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.416e-05/0.3738, allocations: 43.91 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005217/0.3743, allocations: 436.6 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.855e-05/0.3744, allocations: 37.25 kB / 1.071 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.407e-05/0.3744, allocations: 21.78 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.3744, allocations: 4 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.3744, allocations: 30.56 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3744, allocations: 0 / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001658/0.3746, allocations: 57.47 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.3747, allocations: 85.36 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.3748, allocations: 160.9 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.3748, allocations: 29.7 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.573e-05/0.3749, allocations: 108 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.504e-06/0.3749, allocations: 3.906 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.375, allocations: 17.72 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.91e-05/0.3751, allocations: 314.8 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.562e-05/0.3751, allocations: 8 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.482e-05/0.3751, allocations: 25.66 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.012e-05/0.3752, allocations: 29.7 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3752, allocations: 0 / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.067e-05/0.3753, allocations: 57.55 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.3753, allocations: 7.938 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3753, allocations: 7.938 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3753, allocations: 4.062 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.381e-05/0.3754, allocations: 7.984 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3754, allocations: 0 / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.598e-05/0.3754, allocations: 11.84 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.3755, allocations: 3.938 kB / 1.071 GB, free: 6.746 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 8.403e-05/0.3755, allocations: 114.4 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/0.3756, allocations: 7.906 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.3756, allocations: 11.91 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3756, allocations: 3.984 kB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.3756, allocations: 7.984 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.3757, allocations: 4 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003791/0.376, allocations: 466.8 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3761, allocations: 4 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.069e-05/0.3761, allocations: 4 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3761, allocations: 7.938 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.3761, allocations: 0 / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3761, allocations: 64 / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3761, allocations: 4 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.594e-05/0.3762, allocations: 81.83 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.855e-05/0.3763, allocations: 85.02 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.3763, allocations: 0 / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.047e-05/0.3763, allocations: 0 / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.688e-05/0.3763, allocations: 12.02 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-06/0.3763, allocations: 0 / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.669e-05/0.3764, allocations: 119.2 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3764, allocations: 0 / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001913/0.3766, allocations: 15.91 kB / 1.072 GB, free: 5.699 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.0001132/0.3767, allocations: 101 kB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.381e-05/0.3768, allocations: 16 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3768, allocations: 0 / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.504e-05/0.3769, allocations: 12.06 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.377, allocations: 13.81 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002985/0.3773, allocations: 162.9 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/0.3776, allocations: 0.6924 MB / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.376e-05/0.3776, allocations: 8.422 kB / 1.073 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.454e-05/0.3777, allocations: 11.44 kB / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3777, allocations: 0 / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of Templates: time 0.002531/0.3802, allocations: 444.4 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1)