Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001124/0.001124, allocations: 100.9 kB / 16.27 MB, free: 6.418 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.001134/0.001134, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.546/1.546, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.853/1.853, allocations: 292.3 MB / 0.5495 GB, free: 17.64 MB / 462.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.001481/0.001481, allocations: 75.89 kB / 0.6722 GB, free: 6.566 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2648, allocations: 114.5 MB / 0.784 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002268/0.2671, allocations: 0.8478 MB / 0.7849 GB, free: 3.062 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001288/0.2673, allocations: 47.72 kB / 0.7849 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.338e-05/0.2673, allocations: 0 / 0.7849 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.907e-05/0.2674, allocations: 15.86 kB / 0.7849 GB, free: 3 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.2675, allocations: 7.875 kB / 0.7849 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 5.487e-05/0.2676, allocations: 31.91 kB / 0.785 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.2677, allocations: 51.92 kB / 0.785 GB, free: 2.91 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.2679, allocations: 49.31 kB / 0.7851 GB, free: 2.859 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.439e-05/0.2679, allocations: 31.81 kB / 0.7851 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.221e-05/0.268, allocations: 31.78 kB / 0.7851 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.268, allocations: 8 kB / 0.7851 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.293e-05/0.2681, allocations: 11.94 kB / 0.7851 GB, free: 2.777 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.913e-05/0.2681, allocations: 19.91 kB / 0.7851 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.327e-05/0.2681, allocations: 31.81 kB / 0.7852 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.2683, allocations: 83.91 kB / 0.7853 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2683, allocations: 0 / 0.7853 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2683, allocations: 0 / 0.7853 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.2683, allocations: 0 / 0.7853 GB, free: 2.645 MB / 0.6544 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.0004766/0.2688, allocations: 387.2 kB / 0.7856 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.2688, allocations: 8.031 kB / 0.7856 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/0.2689, allocations: 12.75 kB / 0.7856 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.2691, allocations: 200.1 kB / 0.7858 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.2691, allocations: 8.375 kB / 0.7858 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.2691, allocations: 8.375 kB / 0.7859 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.2693, allocations: 95.89 kB / 0.7859 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.2693, allocations: 4.125 kB / 0.786 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.2693, allocations: 7.938 kB / 0.786 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.2693, allocations: 0 / 0.786 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.006e-05/0.2694, allocations: 43.97 kB / 0.786 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005613/0.27, allocations: 444.5 kB / 0.7864 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.238e-05/0.27, allocations: 37.2 kB / 0.7865 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.892e-05/0.2701, allocations: 17.78 kB / 0.7865 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.2701, allocations: 3.984 kB / 0.7865 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.2701, allocations: 34.59 kB / 0.7865 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.2701, allocations: 4 kB / 0.7865 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001922/0.2703, allocations: 61.48 kB / 0.7866 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.2704, allocations: 77.11 kB / 0.7867 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.2705, allocations: 173.5 kB / 0.7868 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.2706, allocations: 25.7 kB / 0.7868 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.151e-05/0.2706, allocations: 111.9 kB / 0.7869 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.085e-06/0.2707, allocations: 3.906 kB / 0.787 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.2707, allocations: 17.97 kB / 0.787 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.2708, allocations: 326.8 kB / 0.7873 GB, free: 336 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.307e-05/0.2708, allocations: 8 kB / 0.7873 GB, free: 328 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.179e-05/0.2709, allocations: 13.72 kB / 0.7873 GB, free: 308 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.255e-05/0.2709, allocations: 33.64 kB / 0.7873 GB, free: 268 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.2709, allocations: 4 kB / 0.7873 GB, free: 264 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.234e-05/0.271, allocations: 57.61 kB / 0.7874 GB, free: 200 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.271, allocations: 8 kB / 0.7874 GB, free: 192 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2711, allocations: 3.938 kB / 0.7874 GB, free: 188 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.2711, allocations: 0 / 0.7874 GB, free: 188 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.719e-05/0.2711, allocations: 11.92 kB / 0.7874 GB, free: 176 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.2712, allocations: 11.94 kB / 0.7874 GB, free: 164 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.983e-05/0.2712, allocations: 0 / 0.7874 GB, free: 164 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/0.2712, allocations: 0 / 0.7874 GB, free: 164 kB / 0.6544 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 7.033e-05/0.2713, allocations: 113.8 kB / 0.7875 GB, free: 40 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/0.2713, allocations: 19.88 kB / 0.7876 GB, free: 20 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.741e-05/0.2714, allocations: 16.48 kB / 0.7876 GB, free: 0 / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4755/0.7468, allocations: 1.078 kB / 0.7876 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.481e-05/0.7469, allocations: 1.875 kB / 0.7876 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.7469, allocations: 0.875 kB / 0.7876 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005273/0.7475, allocations: 477.7 kB / 0.788 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.7475, allocations: 0 / 0.788 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.828e-05/0.7475, allocations: 3.469 kB / 0.788 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.7475, allocations: 5.953 kB / 0.788 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.7476, allocations: 2.25 kB / 0.788 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.7476, allocations: 0 / 0.788 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.7476, allocations: 0 / 0.788 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.404e-05/0.7477, allocations: 83.94 kB / 0.7881 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.973e-05/0.7477, allocations: 90.62 kB / 0.7882 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.7477, allocations: 3.141 kB / 0.7882 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.866e-05/0.7478, allocations: 3.094 kB / 0.7882 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.235e-05/0.7478, allocations: 1 kB / 0.7882 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.7478, allocations: 3.562 kB / 0.7882 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.612e-05/0.7479, allocations: 131 kB / 0.7883 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7479, allocations: 0 / 0.7883 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000258/0.7482, allocations: 11.78 kB / 0.7884 GB, free: 47.84 MB / 0.6544 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.0001112/0.7483, allocations: 99.14 kB / 0.7884 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001026/0.7484, allocations: 27.75 kB / 0.7885 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.7484, allocations: 1.219 kB / 0.7885 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.157e-05/0.7484, allocations: 9.234 kB / 0.7885 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/0.7486, allocations: 10.88 kB / 0.7885 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.7489, allocations: 190 kB / 0.7887 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.749, allocations: 0.7012 MB / 0.7894 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.7491, allocations: 10.16 kB / 0.7894 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of SimCode: time 1.332e-06/0.7491, allocations: 0 / 0.7894 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of Templates: time 0.002333/0.7514, allocations: 0.9285 MB / 0.7903 GB, free: 46.89 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1)