Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001935/0.001936, 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.002655/0.002655, allocations: 197.9 kB / 16.14 MB, free: 6.695 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.574/1.574, allocations: 222.9 MB / 239.8 MB, free: 4.66 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.1/3.1, allocations: 472.6 MB / 0.7447 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.28 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3767, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.0029/0.3796, allocations: 0.8903 MB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001544/0.3798, allocations: 35.8 kB / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.563e-05/0.3799, allocations: 4 kB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.211e-05/0.38, allocations: 3.938 kB / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.3801, allocations: 3.938 kB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.656e-05/0.3802, allocations: 23.98 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.3803, allocations: 59.84 kB / 1.069 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.3805, allocations: 35.95 kB / 1.069 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.255e-05/0.3805, allocations: 27.81 kB / 1.069 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.161e-05/0.3806, allocations: 31.78 kB / 1.069 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.3806, allocations: 4 kB / 1.069 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-06/0.3807, allocations: 4 kB / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.211e-05/0.3807, allocations: 11.94 kB / 1.069 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.473e-05/0.3807, allocations: 31.8 kB / 1.069 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.3809, allocations: 68.05 kB / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.3809, allocations: 0 / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3809, allocations: 7.875 kB / 1.069 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.3809, allocations: 0 / 1.069 GB, free: 9.672 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.0005441/0.3815, allocations: 387.2 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.3815, allocations: 8.031 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.847e-05/0.3816, allocations: 8.844 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.3818, allocations: 192.2 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.3819, allocations: 12.36 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.3819, allocations: 4.375 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.3821, allocations: 91.89 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3821, allocations: 4.188 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.3821, allocations: 7.938 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.3821, allocations: 0 / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.712e-05/0.3822, allocations: 35.98 kB / 1.069 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006348/0.3829, allocations: 436.5 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.236e-05/0.383, allocations: 49.14 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.778e-05/0.383, allocations: 21.84 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.383, allocations: 0 / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.3831, allocations: 34.59 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3831, allocations: 0 / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0002043/0.3833, allocations: 57.48 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.3833, allocations: 85.09 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.3835, allocations: 158.3 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.3836, allocations: 25.7 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.071e-05/0.3836, allocations: 104 kB / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.142e-05/0.3837, allocations: 7.906 kB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.518e-05/0.3837, allocations: 17.95 kB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3839, allocations: 322.8 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.3e-05/0.3839, allocations: 7.984 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.399e-05/0.3839, allocations: 17.72 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.854e-05/0.384, allocations: 29.66 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.384, allocations: 0 / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001049/0.3841, allocations: 57.59 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.3841, allocations: 13.34 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.3841, allocations: 3.938 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.3842, allocations: 0 / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.382e-05/0.3842, allocations: 7.938 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.3843, allocations: 4 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.873e-05/0.3843, allocations: 11.84 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.3843, allocations: 4 kB / 1.071 GB, free: 7.227 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.029e-05/0.3844, allocations: 109.8 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.739e-05/0.3845, allocations: 15.91 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.986e-05/0.3845, allocations: 23.88 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3845, allocations: 0 / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.3845, allocations: 4 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3845, allocations: 0 / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004928/0.385, allocations: 470.8 kB / 1.071 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3851, allocations: 0 / 1.071 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.428e-05/0.3851, allocations: 4.062 kB / 1.071 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3851, allocations: 4 kB / 1.071 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.3851, allocations: 0 / 1.071 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3851, allocations: 3.984 kB / 1.071 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3851, allocations: 0 / 1.071 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.935e-05/0.3852, allocations: 77.78 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.558e-05/0.3853, allocations: 93 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.3853, allocations: 8.031 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.122e-05/0.3854, allocations: 0 / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.902e-05/0.3854, allocations: 0 / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.3854, allocations: 0 / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001027/0.3855, allocations: 121.7 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3855, allocations: 0 / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000201/0.3857, allocations: 11.91 kB / 1.072 GB, free: 6.184 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.0001581/0.3859, allocations: 95.25 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.952e-05/0.386, allocations: 27.92 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.386, allocations: 0 / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.235e-05/0.386, allocations: 8 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.3862, allocations: 13.31 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003718/0.3866, allocations: 176.8 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.3869, allocations: 0.6926 MB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.64e-05/0.387, allocations: 4.438 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.378e-05/0.387, allocations: 11.44 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.387, allocations: 0 / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of Templates: time 0.002845/0.3898, allocations: 440.6 kB / 1.073 GB, free: 4.664 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1)