Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001167/0.001167, allocations: 191.9 kB / 16.25 MB, free: 6.637 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.499/1.499, allocations: 222.9 MB / 239.9 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.9/2.9, allocations: 472.6 MB / 0.7448 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001276, allocations: 66.59 kB / 0.9115 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.358, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002164/0.3602, allocations: 0.8862 MB / 1.069 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001282/0.3604, allocations: 39.84 kB / 1.069 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.442e-05/0.3605, allocations: 7.938 kB / 1.069 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.55e-05/0.3605, allocations: 0 / 1.069 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.3606, allocations: 3.938 kB / 1.069 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.946e-05/0.3607, allocations: 19.98 kB / 1.069 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.3608, allocations: 63.78 kB / 1.069 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.361, allocations: 43.95 kB / 1.069 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.837e-05/0.3611, allocations: 27.86 kB / 1.069 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.501e-05/0.3612, allocations: 27.86 kB / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.3612, allocations: 4 kB / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.334e-05/0.3612, allocations: 8 kB / 1.069 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.3612, allocations: 15.92 kB / 1.069 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.127e-05/0.3613, allocations: 35.75 kB / 1.069 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.3614, allocations: 68.03 kB / 1.069 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3614, allocations: 8 kB / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.308e-06/0.3614, allocations: 0 / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.3614, allocations: 3.938 kB / 1.069 GB, free: 9.539 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.0004358/0.3618, allocations: 379.2 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.3619, allocations: 12.03 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/0.3619, allocations: 8.844 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.3621, allocations: 188.2 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.3621, allocations: 4.375 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.3622, allocations: 8.375 kB / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.3623, allocations: 105.4 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.3623, allocations: 192 / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.3624, allocations: 3.938 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.3624, allocations: 4 kB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.213e-05/0.3624, allocations: 31.98 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000532/0.363, allocations: 452.5 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.681e-05/0.3631, allocations: 41.22 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.436e-05/0.3631, allocations: 17.81 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.714e-06/0.3631, allocations: 0 / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.3631, allocations: 42.56 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.3631, allocations: 0 / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001721/0.3633, allocations: 57.47 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.3634, allocations: 77.11 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.3635, allocations: 165.1 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.3635, allocations: 25.7 kB / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.822e-05/0.3636, allocations: 108.2 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.528e-06/0.3636, allocations: 7.906 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.3637, allocations: 13.72 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.3638, allocations: 322.8 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/0.3638, allocations: 4 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.546e-05/0.3638, allocations: 17.72 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.204e-05/0.3639, allocations: 29.66 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3639, allocations: 0 / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.903e-05/0.364, allocations: 61.59 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.364, allocations: 4 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.364, allocations: 3.938 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.364, allocations: 3.938 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.104e-05/0.3641, allocations: 8 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3641, allocations: 0 / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.723e-05/0.3641, allocations: 11.84 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.3642, allocations: 4.062 kB / 1.071 GB, free: 7.102 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 6.863e-05/0.3642, allocations: 117.8 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.3643, allocations: 8 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.763e-05/0.3643, allocations: 19.8 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.3643, allocations: 0 / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3643, allocations: 3.938 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.3643, allocations: 0 / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003635/0.3647, allocations: 470.8 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3647, allocations: 0 / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.241e-05/0.3647, allocations: 11.98 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3647, allocations: 0 / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.3648, allocations: 0 / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.3648, allocations: 7.984 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3648, allocations: 0 / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.622e-05/0.3649, allocations: 85.84 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/0.3649, allocations: 89 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.3649, allocations: 0 / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.102e-05/0.365, allocations: 3.938 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.293e-05/0.365, allocations: 4 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.365, allocations: 4 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001004/0.3651, allocations: 119.2 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3651, allocations: 0 / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001891/0.3653, allocations: 11.94 kB / 1.072 GB, free: 6.047 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.0001157/0.3654, allocations: 103.2 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.406e-05/0.3655, allocations: 15.94 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3655, allocations: 0 / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.023e-05/0.3655, allocations: 4 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.3657, allocations: 11.94 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003353/0.366, allocations: 191 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.3663, allocations: 0.6924 MB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.708e-05/0.3663, allocations: 12.42 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.3664, allocations: 11.44 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.3664, allocations: 0 / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of Templates: time 0.002401/0.3688, allocations: 444.5 kB / 1.073 GB, free: 4.512 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1)