Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 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.From_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001531/0.001531, allocations: 107.3 kB / 16.37 MB, free: 6.461 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.001566/0.001566, allocations: 185.8 kB / 17.31 MB, free: 5.812 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.395/1.395, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.79/1.79, allocations: 292.3 MB / 0.5496 GB, free: 17.53 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.001401/0.001401, allocations: 67.91 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2481, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002101/0.2503, allocations: 0.8451 MB / 0.7856 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000118/0.2504, allocations: 51.66 kB / 0.7857 GB, free: 2.281 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.435e-05/0.2505, allocations: 4 kB / 0.7857 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.921e-05/0.2505, allocations: 11.86 kB / 0.7857 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.051e-05/0.2506, allocations: 7.875 kB / 0.7857 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 4.81e-05/0.2507, allocations: 23.97 kB / 0.7857 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.989e-05/0.2508, allocations: 63.83 kB / 0.7858 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.2509, allocations: 49.38 kB / 0.7858 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.633e-05/0.251, allocations: 31.8 kB / 0.7859 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.87e-05/0.2511, allocations: 31.78 kB / 0.7859 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.2511, allocations: 8 kB / 0.7859 GB, free: 2.051 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.588e-06/0.2511, allocations: 4 kB / 0.7859 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.175e-05/0.2511, allocations: 19.94 kB / 0.7859 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.819e-05/0.2512, allocations: 39.73 kB / 0.786 GB, free: 1.988 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.2513, allocations: 91.5 kB / 0.786 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2513, allocations: 0 / 0.786 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2513, allocations: 0 / 0.786 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.2513, allocations: 0 / 0.786 GB, free: 1.898 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.0004321/0.2518, allocations: 387.1 kB / 0.7864 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.2518, allocations: 8.031 kB / 0.7864 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.368e-05/0.2518, allocations: 12.75 kB / 0.7864 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.252, allocations: 200.2 kB / 0.7866 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.2521, allocations: 8.375 kB / 0.7866 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.2521, allocations: 8.375 kB / 0.7866 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.2522, allocations: 94.55 kB / 0.7867 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.2523, allocations: 192 / 0.7867 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.2523, allocations: 7.938 kB / 0.7867 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.2523, allocations: 4 kB / 0.7867 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.971e-05/0.2524, allocations: 39.92 kB / 0.7868 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005293/0.2529, allocations: 444.6 kB / 0.7872 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.114e-05/0.253, allocations: 37.25 kB / 0.7872 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.644e-05/0.253, allocations: 17.78 kB / 0.7873 GB, free: 492 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.357e-06/0.253, allocations: 4 kB / 0.7873 GB, free: 488 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.253, allocations: 30.56 kB / 0.7873 GB, free: 448 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.2531, allocations: 0 / 0.7873 GB, free: 448 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001749/0.2532, allocations: 65.47 kB / 0.7873 GB, free: 376 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/0.2533, allocations: 77.11 kB / 0.7874 GB, free: 280 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.2535, allocations: 169.5 kB / 0.7876 GB, free: 100 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.2535, allocations: 25.95 kB / 0.7876 GB, free: 68 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.3788/0.6324, allocations: 114.6 kB / 0.7877 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.6324, allocations: 4.938 kB / 0.7877 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.359e-05/0.6325, allocations: 17.86 kB / 0.7877 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.57e-05/0.6325, allocations: 323.4 kB / 0.788 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.428e-05/0.6326, allocations: 6.812 kB / 0.7881 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.677e-05/0.6326, allocations: 17.69 kB / 0.7881 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.161e-05/0.6327, allocations: 31.28 kB / 0.7881 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.6327, allocations: 3.656 kB / 0.7881 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001184/0.6328, allocations: 62.58 kB / 0.7882 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.6328, allocations: 5.812 kB / 0.7882 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.6328, allocations: 3.75 kB / 0.7882 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.6329, allocations: 0.5 kB / 0.7882 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.664e-05/0.633, allocations: 9 kB / 0.7882 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.633, allocations: 3.562 kB / 0.7882 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.072e-05/0.633, allocations: 3.969 kB / 0.7882 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.633, allocations: 7.719 kB / 0.7882 GB, free: 48.22 MB / 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 6.374e-05/0.6331, allocations: 116.3 kB / 0.7883 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.041e-05/0.6332, allocations: 12.67 kB / 0.7883 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.979e-05/0.6332, allocations: 15.5 kB / 0.7883 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.6332, allocations: 3.938 kB / 0.7883 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.6332, allocations: 0 / 0.7883 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.6332, allocations: 3.375 kB / 0.7883 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003523/0.6336, allocations: 479.4 kB / 0.7888 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.6336, allocations: 1.375 kB / 0.7888 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.189e-05/0.6336, allocations: 3.438 kB / 0.7888 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.6336, allocations: 0 / 0.7888 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.6336, allocations: 2.75 kB / 0.7888 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.6336, allocations: 6.016 kB / 0.7888 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.6336, allocations: 0 / 0.7888 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.776e-05/0.6337, allocations: 85.38 kB / 0.7889 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.6338, allocations: 94.2 kB / 0.789 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.6338, allocations: 0 / 0.789 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.338e-05/0.6338, allocations: 2.578 kB / 0.789 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.339e-05/0.6338, allocations: 7 kB / 0.789 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.6338, allocations: 0 / 0.789 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.815e-05/0.6339, allocations: 128.6 kB / 0.7891 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.11e-07/0.6339, allocations: 2.906 kB / 0.7891 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001847/0.6341, allocations: 9.172 kB / 0.7891 GB, free: 47.39 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 8.891e-05/0.6342, allocations: 101.7 kB / 0.7892 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.682e-05/0.6343, allocations: 16.72 kB / 0.7892 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6343, allocations: 2.062 kB / 0.7892 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.197e-05/0.6343, allocations: 9.5 kB / 0.7892 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.6345, allocations: 13.34 kB / 0.7893 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000288/0.6348, allocations: 196.8 kB / 0.7894 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.6349, allocations: 0.7004 MB / 0.7901 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.641e-05/0.6349, allocations: 10.06 kB / 0.7901 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.635, allocations: 5.25 kB / 0.7901 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of Templates: time 0.002162/0.6371, allocations: 0.9229 MB / 0.791 GB, free: 46.43 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1)