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.0009132/0.000913, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007579/0.007579, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.469/1.469, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.876/2.876, allocations: 473.4 MB / 0.7469 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004594/0.0004595, allocations: 15.73 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3902, allocations: 162.2 MB / 1.074 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001262/0.3916, allocations: 0.5474 MB / 1.075 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001225/0.3917, allocations: 39.78 kB / 1.075 GB, free: 7 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.222e-05/0.3918, allocations: 4 kB / 1.075 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.404e-05/0.3918, allocations: 7.938 kB / 1.075 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.775e-05/0.3919, allocations: 0 / 1.075 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.968e-05/0.392, allocations: 19.98 kB / 1.075 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.3921, allocations: 59.78 kB / 1.075 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.3922, allocations: 43.95 kB / 1.075 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.849e-05/0.3923, allocations: 15.88 kB / 1.075 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.952e-05/0.3924, allocations: 19.86 kB / 1.075 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.3924, allocations: 0 / 1.075 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.302e-05/0.3924, allocations: 3.938 kB / 1.075 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.3924, allocations: 7.938 kB / 1.075 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.869e-05/0.3925, allocations: 57.44 kB / 1.075 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.3926, allocations: 68.03 kB / 1.075 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3926, allocations: 0 / 1.075 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.609e-06/0.3926, allocations: 0 / 1.075 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.3927, allocations: 3.938 kB / 1.075 GB, free: 6.688 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.0004896/0.3932, allocations: 363.3 kB / 1.075 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.3932, allocations: 12.03 kB / 1.075 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.3933, allocations: 12.83 kB / 1.075 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.3935, allocations: 184.2 kB / 1.076 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.3935, allocations: 8.375 kB / 1.076 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.3935, allocations: 4.375 kB / 1.076 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.3937, allocations: 109.1 kB / 1.076 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3937, allocations: 192 / 1.076 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.3938, allocations: 7.938 kB / 1.076 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.3938, allocations: 4 kB / 1.076 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.539e-05/0.3939, allocations: 35.97 kB / 1.076 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006299/0.3945, allocations: 436.6 kB / 1.076 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.725e-05/0.3946, allocations: 37.22 kB / 1.076 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.533e-05/0.3946, allocations: 21.81 kB / 1.076 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.3947, allocations: 4 kB / 1.076 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.3947, allocations: 34.56 kB / 1.076 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 3.376e-06/0.3947, allocations: 3.984 kB / 1.076 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0002036/0.3949, allocations: 57.47 kB / 1.076 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.395, allocations: 77.11 kB / 1.076 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.3951, allocations: 165.1 kB / 1.077 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.3952, allocations: 25.7 kB / 1.077 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.837e-05/0.3953, allocations: 119.9 kB / 1.077 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.121e-05/0.3953, allocations: 4.156 kB / 1.077 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/0.3953, allocations: 13.72 kB / 1.077 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3954, allocations: 322.8 kB / 1.077 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.765e-05/0.3955, allocations: 4 kB / 1.077 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.416e-05/0.3955, allocations: 17.72 kB / 1.077 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.621e-05/0.3955, allocations: 33.64 kB / 1.077 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3955, allocations: 0 / 1.077 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.529e-05/0.3956, allocations: 53.61 kB / 1.077 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.3957, allocations: 8 kB / 1.077 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.3957, allocations: 3.938 kB / 1.077 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3957, allocations: 3.938 kB / 1.077 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.156e-05/0.3958, allocations: 11.92 kB / 1.077 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.3958, allocations: 4 kB / 1.077 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.824e-05/0.3958, allocations: 3.938 kB / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.3958, allocations: 4 kB / 1.077 GB, free: 4.262 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.211e-05/0.3959, allocations: 113.9 kB / 1.077 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.396, allocations: 7.906 kB / 1.077 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.396, allocations: 15.81 kB / 1.077 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.396, allocations: 0 / 1.077 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.396, allocations: 7.938 kB / 1.077 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.396, allocations: 3.984 kB / 1.077 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003812/0.3964, allocations: 474.7 kB / 1.078 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3964, allocations: 4.062 kB / 1.078 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.802e-05/0.3964, allocations: 4 kB / 1.078 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3964, allocations: 0 / 1.078 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.3965, allocations: 0 / 1.078 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.3965, allocations: 0 / 1.078 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3965, allocations: 0 / 1.078 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.86e-05/0.3966, allocations: 85.77 kB / 1.078 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/0.3966, allocations: 85.05 kB / 1.078 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.3967, allocations: 12 kB / 1.078 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.871e-05/0.3967, allocations: 0 / 1.078 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.485e-05/0.3967, allocations: 3.984 kB / 1.078 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.3967, allocations: 0 / 1.078 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.913e-05/0.3968, allocations: 117.3 kB / 1.078 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3968, allocations: 0 / 1.078 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001812/0.397, allocations: 8 kB / 1.078 GB, free: 3.223 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.0001781/0.3972, allocations: 103.2 kB / 1.078 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.3973, allocations: 19.94 kB / 1.078 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.3973, allocations: 0 / 1.078 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.167e-05/0.3973, allocations: 8 kB / 1.078 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.3975, allocations: 7.938 kB / 1.078 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003976/0.3979, allocations: 180.8 kB / 1.078 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.3983, allocations: 0.6926 MB / 1.079 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.989e-05/0.3983, allocations: 8.422 kB / 1.079 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/0.3983, allocations: 19.38 kB / 1.079 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.3983, allocations: 0 / 1.079 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of Templates: time 0.002869/0.4012, allocations: 424.5 kB / 1.079 GB, free: 1.703 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)