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.001265/0.001265, allocations: 106.2 kB / 16.29 MB, free: 6.43 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.001152/0.001152, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.61/1.61, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.949/1.949, allocations: 292.3 MB / 0.5495 GB, free: 17.39 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.001497/0.001497, allocations: 70.56 kB / 0.6722 GB, free: 6.496 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2795, allocations: 114.6 MB / 0.7841 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002296/0.2819, allocations: 0.8414 MB / 0.7849 GB, free: 2.977 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001315/0.282, allocations: 55.7 kB / 0.785 GB, free: 2.922 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.847e-05/0.2821, allocations: 0 / 0.785 GB, free: 2.922 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.995e-05/0.2821, allocations: 7.875 kB / 0.785 GB, free: 2.914 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.316e-05/0.2822, allocations: 11.88 kB / 0.785 GB, free: 2.902 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 5.379e-05/0.2823, allocations: 23.97 kB / 0.785 GB, free: 2.879 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.2824, allocations: 63.84 kB / 0.7851 GB, free: 2.816 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.2826, allocations: 37.39 kB / 0.7851 GB, free: 2.777 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.618e-05/0.2826, allocations: 31.8 kB / 0.7851 GB, free: 2.746 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.2e-05/0.2827, allocations: 39.72 kB / 0.7852 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.2827, allocations: 4 kB / 0.7852 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.64e-05/0.2827, allocations: 8 kB / 0.7852 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.405e-05/0.2828, allocations: 15.94 kB / 0.7852 GB, free: 2.68 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.332e-05/0.2828, allocations: 43.72 kB / 0.7852 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.2829, allocations: 83.86 kB / 0.7853 GB, free: 2.555 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.283, allocations: 3.938 kB / 0.7853 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.763e-06/0.283, allocations: 0 / 0.7853 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.283, allocations: 4 kB / 0.7853 GB, free: 2.547 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.0004435/0.2834, allocations: 387.1 kB / 0.7857 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2835, allocations: 12.03 kB / 0.7857 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.042e-05/0.2835, allocations: 12.75 kB / 0.7857 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.2838, allocations: 200.2 kB / 0.7859 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.2838, allocations: 8.375 kB / 0.7859 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.2838, allocations: 4.375 kB / 0.7859 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.284, allocations: 94.86 kB / 0.786 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.284, allocations: 192 / 0.786 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.284, allocations: 7.938 kB / 0.786 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.284, allocations: 0 / 0.786 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.46e-05/0.2841, allocations: 39.92 kB / 0.786 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005643/0.2847, allocations: 448.6 kB / 0.7865 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.442e-05/0.2848, allocations: 41.25 kB / 0.7865 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.093e-05/0.2848, allocations: 17.78 kB / 0.7865 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.2848, allocations: 4 kB / 0.7865 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.2848, allocations: 34.55 kB / 0.7866 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.2849, allocations: 0 / 0.7866 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001916/0.2851, allocations: 57.48 kB / 0.7866 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.2851, allocations: 77.11 kB / 0.7867 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.2853, allocations: 173.5 kB / 0.7869 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.2853, allocations: 25.95 kB / 0.7869 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.167e-05/0.2854, allocations: 115.9 kB / 0.787 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.174e-05/0.2854, allocations: 7.891 kB / 0.787 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/0.2855, allocations: 13.72 kB / 0.787 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.2856, allocations: 318.8 kB / 0.7873 GB, free: 252 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.205e-05/0.2856, allocations: 8 kB / 0.7873 GB, free: 244 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.855e-05/0.2857, allocations: 21.72 kB / 0.7874 GB, free: 216 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.789e-05/0.2857, allocations: 33.66 kB / 0.7874 GB, free: 176 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2857, allocations: 0 / 0.7874 GB, free: 176 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.331e-05/0.2858, allocations: 61.53 kB / 0.7874 GB, free: 108 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.2859, allocations: 4 kB / 0.7874 GB, free: 104 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.2859, allocations: 7.875 kB / 0.7875 GB, free: 96 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.2859, allocations: 7.938 kB / 0.7875 GB, free: 88 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.857e-05/0.286, allocations: 4 kB / 0.7875 GB, free: 84 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.286, allocations: 0 / 0.7875 GB, free: 84 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.606e-05/0.286, allocations: 12.06 kB / 0.7875 GB, free: 72 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.2861, allocations: 0 / 0.7875 GB, free: 72 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 0.4592/0.7452, allocations: 113.6 kB / 0.7876 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.407e-05/0.7453, allocations: 10.69 kB / 0.7876 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.053e-05/0.7454, allocations: 16.84 kB / 0.7876 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.7454, allocations: 1.172 kB / 0.7876 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.7454, allocations: 1.469 kB / 0.7876 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.7454, allocations: 0 / 0.7876 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004481/0.7459, allocations: 483.5 kB / 0.7881 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.7459, allocations: 0 / 0.7881 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.93e-05/0.7459, allocations: 5.625 kB / 0.7881 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.7459, allocations: 0.5938 kB / 0.7881 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.746, allocations: 3.906 kB / 0.7881 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.746, allocations: 3.5 kB / 0.7881 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.746, allocations: 6.5 kB / 0.7881 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.914e-05/0.7461, allocations: 77.62 kB / 0.7882 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.373e-05/0.7461, allocations: 98.45 kB / 0.7883 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.7461, allocations: 0 / 0.7883 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.894e-05/0.7462, allocations: 2.688 kB / 0.7883 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.622e-05/0.7462, allocations: 3.5 kB / 0.7883 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.7462, allocations: 3.891 kB / 0.7883 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.525e-05/0.7463, allocations: 129.6 kB / 0.7884 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7463, allocations: 0 / 0.7884 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002446/0.7466, allocations: 13.81 kB / 0.7884 GB, free: 48.23 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.0001091/0.7467, allocations: 98.05 kB / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001094/0.7468, allocations: 28.86 kB / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7468, allocations: 1.938 kB / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.316e-05/0.7468, allocations: 9.375 kB / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.747, allocations: 11.19 kB / 0.7886 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003192/0.7473, allocations: 159.5 kB / 0.7887 GB, free: 48 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/0.7475, allocations: 0.6955 MB / 0.7894 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.622e-05/0.7475, allocations: 12.23 kB / 0.7894 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.236e-05/0.7476, allocations: 10.06 kB / 0.7894 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of SimCode: time 1.222e-06/0.7476, allocations: 3.719 kB / 0.7894 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of Templates: time 0.003032/0.7506, allocations: 487 kB / 0.7899 GB, free: 47.3 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1)