Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001262/0.001262, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001515/0.001515, allocations: 195.6 kB / 16.14 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.582/1.582, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.044/3.044, allocations: 472.6 MB / 0.7447 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 68.33 kB / 0.9114 GB, free: 33.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3887, 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_Btu): time 0.002217/0.3909, allocations: 0.8847 MB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001057/0.3911, allocations: 43.78 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.01e-05/0.3911, allocations: 0 / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.33e-05/0.3912, allocations: 3.938 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.946e-05/0.3913, allocations: 3.938 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.675e-05/0.3913, allocations: 23.98 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.413e-05/0.3914, allocations: 55.86 kB / 1.069 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.3916, allocations: 43.94 kB / 1.069 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.911e-05/0.3916, allocations: 19.81 kB / 1.069 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.3e-05/0.3917, allocations: 35.84 kB / 1.069 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.3917, allocations: 4 kB / 1.069 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.037e-05/0.3918, allocations: 4 kB / 1.069 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.005e-05/0.3918, allocations: 7.938 kB / 1.069 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.815e-05/0.3918, allocations: 39.72 kB / 1.069 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.3919, allocations: 68 kB / 1.069 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.392, allocations: 0 / 1.069 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.32e-07/0.392, allocations: 0 / 1.069 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.392, allocations: 0 / 1.069 GB, free: 9.656 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.0004725/0.3924, allocations: 383.2 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3925, allocations: 8.031 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.3925, allocations: 12.78 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.3928, allocations: 196.1 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.853e-05/0.3928, allocations: 8.375 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.3928, allocations: 4.375 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.393, allocations: 91.94 kB / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.393, allocations: 4.188 kB / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.393, allocations: 11.88 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.393, allocations: 3.938 kB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.188e-05/0.3931, allocations: 35.98 kB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005519/0.3937, allocations: 428.5 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.449e-05/0.3937, allocations: 49.28 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.951e-05/0.3938, allocations: 25.83 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.195e-06/0.3938, allocations: 0 / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.3938, allocations: 30.56 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.3938, allocations: 3.938 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001694/0.394, allocations: 57.55 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.3941, allocations: 81.05 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.3942, allocations: 168.8 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.3942, allocations: 25.7 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.623e-05/0.3943, allocations: 100 kB / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.08e-05/0.3943, allocations: 7.906 kB / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.3944, allocations: 17.7 kB / 1.07 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.3945, allocations: 319.1 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.771e-05/0.3945, allocations: 12 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.441e-05/0.3945, allocations: 17.7 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.175e-05/0.3946, allocations: 25.72 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3946, allocations: 0 / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.807e-05/0.3947, allocations: 57.53 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.3947, allocations: 12.06 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.3947, allocations: 3.938 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3947, allocations: 0 / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.327e-05/0.3948, allocations: 8 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3948, allocations: 0 / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.99e-05/0.3948, allocations: 7.844 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.3948, allocations: 8 kB / 1.071 GB, free: 7.215 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.437e-05/0.3949, allocations: 113.8 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.395, allocations: 11.91 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.885e-05/0.395, allocations: 15.8 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.395, allocations: 4 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.395, allocations: 0 / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.395, allocations: 3.938 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003706/0.3954, allocations: 474.7 kB / 1.071 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3954, allocations: 0 / 1.071 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.088e-05/0.3955, allocations: 8 kB / 1.071 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3955, allocations: 0 / 1.071 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.3955, allocations: 4.062 kB / 1.071 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3955, allocations: 0 / 1.071 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.3955, allocations: 3.984 kB / 1.071 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.153e-05/0.3956, allocations: 77.84 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.495e-05/0.3956, allocations: 93.03 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.3957, allocations: 4 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.117e-05/0.3957, allocations: 8.016 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.749e-05/0.3957, allocations: 0 / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.3957, allocations: 0 / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.561e-05/0.3958, allocations: 119.2 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3958, allocations: 0 / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001895/0.396, 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.0001307/0.3961, allocations: 99.25 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.099e-05/0.3962, allocations: 19.98 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.3962, allocations: 0 / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.15e-05/0.3962, 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.0001707/0.3964, allocations: 11.94 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.0003045/0.3967, allocations: 176.8 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.397, allocations: 0.6965 MB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.308e-05/0.397, allocations: 4.438 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.392e-05/0.3971, allocations: 11.44 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of SimCode: time 2.01e-07/0.3971, allocations: 0 / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of Templates: time 0.002554/0.3996, allocations: 436.5 kB / 1.073 GB, free: 4.645 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1)