Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001676/0.001676, 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.002264/0.002263, allocations: 198.2 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.456/1.456, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.071/3.071, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 72.05 kB / 0.9114 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3919, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002461/0.3944, allocations: 0.8863 MB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000123/0.3946, allocations: 39.8 kB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.223e-05/0.3946, allocations: 0 / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.965e-05/0.3947, allocations: 7.922 kB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.405e-05/0.3948, allocations: 0 / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.243e-05/0.3948, allocations: 23.98 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.395, allocations: 59.8 kB / 1.069 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.3951, allocations: 39.95 kB / 1.069 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.569e-05/0.3952, allocations: 15.88 kB / 1.069 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.251e-05/0.3953, allocations: 35.84 kB / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.3953, allocations: 4 kB / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.3953, allocations: 4 kB / 1.069 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2e-05/0.3953, allocations: 7.938 kB / 1.069 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.698e-05/0.3954, allocations: 39.72 kB / 1.069 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.3955, allocations: 64.06 kB / 1.069 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3955, allocations: 0 / 1.069 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3955, allocations: 3.938 kB / 1.069 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3955, allocations: 0 / 1.069 GB, free: 9.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.0005101/0.3961, allocations: 387.2 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.3961, allocations: 8.031 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.807e-05/0.3961, allocations: 8.844 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.3964, allocations: 192.2 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.3964, allocations: 8.375 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.3964, allocations: 12.31 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.3966, allocations: 97.44 kB / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.3966, allocations: 4.125 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.3966, allocations: 11.94 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.3966, allocations: 0 / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.72e-05/0.3967, allocations: 35.98 kB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005608/0.3973, allocations: 436.5 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.073e-05/0.3974, allocations: 45.16 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.341e-05/0.3974, allocations: 29.86 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.3974, allocations: 0 / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.3975, allocations: 30.56 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3975, allocations: 0 / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0002025/0.3977, allocations: 61.48 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.3977, allocations: 77.11 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.3979, allocations: 164.9 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.3979, allocations: 25.7 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.718e-05/0.398, allocations: 104 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.082e-05/0.398, allocations: 7.906 kB / 1.07 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.398, allocations: 13.72 kB / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.3982, allocations: 327.1 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.13e-05/0.3982, allocations: 8 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.452e-05/0.3982, allocations: 17.7 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.179e-05/0.3983, allocations: 29.66 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3983, allocations: 0 / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.674e-05/0.3984, allocations: 49.61 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.3984, allocations: 16.05 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.3984, allocations: 7.875 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.3984, allocations: 0 / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.379e-05/0.3985, allocations: 4 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.3985, allocations: 4 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.97e-05/0.3986, allocations: 7.844 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.3986, allocations: 4 kB / 1.071 GB, free: 7.238 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 0.0001052/0.3987, allocations: 109.8 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.879e-05/0.3987, allocations: 7.906 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.765e-05/0.3988, allocations: 23.8 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3988, allocations: 0 / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/0.3988, allocations: 4 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3988, allocations: 3.938 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004046/0.3992, allocations: 470.8 kB / 1.071 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3992, allocations: 0 / 1.071 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.824e-05/0.3993, allocations: 7.938 kB / 1.071 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.3993, allocations: 4.062 kB / 1.071 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.3993, allocations: 0 / 1.071 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3993, allocations: 0 / 1.071 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3993, allocations: 0 / 1.071 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.764e-05/0.3994, allocations: 85.77 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.282e-05/0.3994, allocations: 89 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.3995, allocations: 8 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.908e-05/0.3995, allocations: 4.031 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.2e-05/0.3995, allocations: 0 / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.3995, allocations: 0 / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.909e-05/0.3996, allocations: 119.2 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3996, allocations: 0 / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001826/0.3998, allocations: 11.91 kB / 1.072 GB, free: 6.191 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.0001531/0.3999, allocations: 95.34 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.694e-05/0.4, allocations: 23.94 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4, allocations: 0 / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.334e-05/0.4001, allocations: 11.98 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.4002, allocations: 14.89 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003392/0.4006, allocations: 180.7 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.4009, allocations: 0.7004 MB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.263e-05/0.4009, allocations: 4.438 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.494e-05/0.4009, allocations: 11.44 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.4009, allocations: 0 / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of Templates: time 0.00252/0.4035, allocations: 432.5 kB / 1.073 GB, free: 4.668 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1)