Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_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_maint.7.0.x_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.001397/0.001405, allocations: 98.11 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.01086/0.01086, allocations: 169.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.71/1.71, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.769/1.769, allocations: 252 MB / 0.5105 GB, free: 4.633 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005941/0.0005941, allocations: 20 kB / 0.6249 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5739/0.5745, allocations: 106.3 MB / 0.7287 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001318/0.5759, allocations: 0.573 MB / 0.7293 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001469/0.576, allocations: 55.77 kB / 0.7293 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.594e-05/0.5761, allocations: 0 / 0.7293 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.98e-05/0.5761, allocations: 7.875 kB / 0.7293 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.5763, allocations: 7.922 kB / 0.7294 GB, free: 10.6 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 5.09e-05/0.5763, allocations: 16 kB / 0.7294 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.5765, allocations: 67.78 kB / 0.7294 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002111/0.5767, allocations: 33.39 kB / 0.7295 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.674e-05/0.5768, allocations: 23.8 kB / 0.7295 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.798e-05/0.5768, allocations: 23.8 kB / 0.7295 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.5769, allocations: 4 kB / 0.7295 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.077e-06/0.5769, allocations: 0 / 0.7295 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.466e-05/0.5769, allocations: 15.92 kB / 0.7295 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.791e-05/0.577, allocations: 49.45 kB / 0.7296 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.5771, allocations: 85.64 kB / 0.7297 GB, free: 10.28 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.5772, allocations: 0 / 0.7297 GB, free: 10.28 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.344e-06/0.5772, allocations: 0 / 0.7297 GB, free: 10.28 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.5772, allocations: 0 / 0.7297 GB, free: 10.28 MB / 0.545 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.000612/0.5778, allocations: 375.2 kB / 0.73 GB, free: 9.859 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.773e-05/0.5779, allocations: 12.03 kB / 0.73 GB, free: 9.848 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.892e-05/0.5779, allocations: 12.75 kB / 0.73 GB, free: 9.836 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.5782, allocations: 200.1 kB / 0.7302 GB, free: 9.602 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.5782, allocations: 12.38 kB / 0.7302 GB, free: 9.59 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.5783, allocations: 4.375 kB / 0.7302 GB, free: 9.586 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.5785, allocations: 93.66 kB / 0.7303 GB, free: 9.484 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.5785, allocations: 4.188 kB / 0.7303 GB, free: 9.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.5785, allocations: 7.938 kB / 0.7303 GB, free: 9.473 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.5786, allocations: 0 / 0.7303 GB, free: 9.473 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.796e-05/0.5787, allocations: 39.92 kB / 0.7304 GB, free: 9.434 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006813/0.5793, allocations: 444.5 kB / 0.7308 GB, free: 8.945 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.122e-05/0.5794, allocations: 41.34 kB / 0.7308 GB, free: 8.887 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.046e-05/0.5795, allocations: 17.78 kB / 0.7309 GB, free: 8.863 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.5795, allocations: 4 kB / 0.7309 GB, free: 8.859 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.5795, allocations: 30.56 kB / 0.7309 GB, free: 8.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 3.166e-06/0.5795, allocations: 0 / 0.7309 GB, free: 8.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.000244/0.5798, allocations: 61.47 kB / 0.731 GB, free: 8.754 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/0.5799, allocations: 85.05 kB / 0.731 GB, free: 8.652 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.5801, allocations: 168.8 kB / 0.7312 GB, free: 8.477 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.5801, allocations: 29.95 kB / 0.7312 GB, free: 8.441 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.284e-05/0.5802, allocations: 111.9 kB / 0.7313 GB, free: 8.328 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.325e-06/0.5802, allocations: 0 / 0.7313 GB, free: 8.328 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.5802, allocations: 9.719 kB / 0.7313 GB, free: 8.312 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.5804, allocations: 322.8 kB / 0.7317 GB, free: 7.988 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.213e-05/0.5804, allocations: 8 kB / 0.7317 GB, free: 7.98 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.109e-05/0.5805, allocations: 21.7 kB / 0.7317 GB, free: 7.953 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.331e-05/0.5805, allocations: 33.66 kB / 0.7317 GB, free: 7.914 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5805, allocations: 3.938 kB / 0.7317 GB, free: 7.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.85e-05/0.5806, allocations: 73.44 kB / 0.7318 GB, free: 7.832 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.5807, allocations: 4 kB / 0.7318 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.5807, allocations: 3.938 kB / 0.7318 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.5807, allocations: 0 / 0.7318 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-05/0.5808, allocations: 8 kB / 0.7318 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.5808, allocations: 0 / 0.7318 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.246e-05/0.5808, allocations: 3.938 kB / 0.7318 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.5809, allocations: 8.062 kB / 0.7318 GB, free: 7.805 MB / 0.545 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.0001/0.581, allocations: 117.8 kB / 0.7319 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.581, allocations: 7.906 kB / 0.7319 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.829e-05/0.5811, allocations: 20.48 kB / 0.732 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.5811, allocations: 0 / 0.732 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.5811, allocations: 0 / 0.732 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.5811, allocations: 0 / 0.732 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00043/0.5815, allocations: 490.7 kB / 0.7324 GB, free: 7.113 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.5815, allocations: 0 / 0.7324 GB, free: 7.113 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.226e-05/0.5816, allocations: 4 kB / 0.7324 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.5816, allocations: 0 / 0.7324 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.5816, allocations: 0 / 0.7324 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.37e-05/0.5816, allocations: 4 kB / 0.7324 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5816, allocations: 0 / 0.7324 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.382e-05/0.5817, allocations: 81.89 kB / 0.7325 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.936e-05/0.5818, allocations: 89.02 kB / 0.7326 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.5818, allocations: 3.938 kB / 0.7326 GB, free: 6.895 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.421e-05/0.5818, allocations: 4 kB / 0.7326 GB, free: 6.891 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.992e-05/0.5819, allocations: 8.062 kB / 0.7326 GB, free: 6.883 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-06/0.5819, allocations: 0 / 0.7326 GB, free: 6.883 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001137/0.582, allocations: 128 kB / 0.7327 GB, free: 6.758 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.582, allocations: 0 / 0.7327 GB, free: 6.758 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001852/0.5822, allocations: 12.03 kB / 0.7327 GB, free: 6.746 MB / 0.545 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.0001432/0.5823, allocations: 95.25 kB / 0.7328 GB, free: 6.641 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.438e-05/0.5824, allocations: 16 kB / 0.7328 GB, free: 6.625 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5824, allocations: 0 / 0.7328 GB, free: 6.625 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.662e-05/0.5825, allocations: 11.94 kB / 0.7329 GB, free: 6.613 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.5827, allocations: 15.92 kB / 0.7329 GB, free: 6.598 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003561/0.583, allocations: 204.1 kB / 0.7331 GB, free: 6.371 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.5834, allocations: 0.7004 MB / 0.7338 GB, free: 5.645 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.352e-05/0.5834, allocations: 8.422 kB / 0.7338 GB, free: 5.637 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.595e-05/0.5834, allocations: 11.44 kB / 0.7338 GB, free: 5.625 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.5835, allocations: 3.938 kB / 0.7338 GB, free: 5.621 MB / 0.545 GB Notification: Performance of Templates: time 0.002692/0.5862, allocations: 452.5 kB / 0.7342 GB, free: 5.18 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) Environment - environmentSimulation: