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.0009367/0.000941, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.00673/0.00673, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.569/1.569, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.048/3.048, allocations: 473.4 MB / 0.7469 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003857/0.0003858, allocations: 12.44 kB / 0.9158 GB, free: 33.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.3851, allocations: 162.2 MB / 1.074 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001404/0.3866, allocations: 0.5474 MB / 1.075 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001868/0.3868, allocations: 35.86 kB / 1.075 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.959e-05/0.3869, allocations: 7.938 kB / 1.075 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.929e-05/0.387, allocations: 3.984 kB / 1.075 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.3871, allocations: 3.938 kB / 1.075 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.245e-05/0.3872, allocations: 19.98 kB / 1.075 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.3873, allocations: 63.77 kB / 1.075 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.3875, allocations: 39.97 kB / 1.075 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.609e-05/0.3876, allocations: 15.88 kB / 1.075 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.626e-05/0.3877, allocations: 19.86 kB / 1.075 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.3877, allocations: 0 / 1.075 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.042e-05/0.3877, allocations: 4 kB / 1.075 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.969e-05/0.3877, allocations: 3.938 kB / 1.075 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.924e-05/0.3878, allocations: 65.44 kB / 1.075 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.3879, allocations: 60.03 kB / 1.075 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3879, allocations: 0 / 1.075 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.829e-06/0.3879, allocations: 0 / 1.075 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.388, allocations: 3.938 kB / 1.075 GB, free: 6.68 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.000558/0.3885, allocations: 363.3 kB / 1.075 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.3886, allocations: 12.03 kB / 1.075 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.3886, allocations: 8.844 kB / 1.075 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.3889, allocations: 200.1 kB / 1.076 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.3889, allocations: 4.375 kB / 1.076 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.3889, allocations: 8.375 kB / 1.076 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.3891, allocations: 97.36 kB / 1.076 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.3892, allocations: 4.125 kB / 1.076 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.3892, allocations: 3.938 kB / 1.076 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.3892, allocations: 4 kB / 1.076 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.856e-05/0.3893, allocations: 35.98 kB / 1.076 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006986/0.39, allocations: 440.6 kB / 1.076 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.686e-05/0.3901, allocations: 41.16 kB / 1.076 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.744e-05/0.3901, allocations: 25.88 kB / 1.076 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.3902, allocations: 4 kB / 1.076 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.3902, allocations: 30.56 kB / 1.076 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 2.124e-06/0.3902, allocations: 0 / 1.076 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0002214/0.3904, allocations: 57.47 kB / 1.076 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.3905, allocations: 81.36 kB / 1.076 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.3907, allocations: 165.1 kB / 1.077 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.3907, allocations: 33.64 kB / 1.077 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.263e-05/0.3908, allocations: 107.9 kB / 1.077 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.36e-05/0.3908, allocations: 7.906 kB / 1.077 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/0.3909, allocations: 9.719 kB / 1.077 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.391, allocations: 322.8 kB / 1.077 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.999e-05/0.391, allocations: 4 kB / 1.077 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.991e-05/0.3911, allocations: 17.72 kB / 1.077 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.721e-05/0.3911, allocations: 29.66 kB / 1.077 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3911, allocations: 0 / 1.077 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001041/0.3913, allocations: 61.59 kB / 1.077 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/0.3913, allocations: 4 kB / 1.077 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.3913, allocations: 3.938 kB / 1.077 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.3913, allocations: 3.938 kB / 1.077 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.586e-05/0.3914, allocations: 8 kB / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.3914, allocations: 8.047 kB / 1.077 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.431e-05/0.3915, allocations: 3.938 kB / 1.077 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.3915, allocations: 4 kB / 1.077 GB, free: 4.25 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 8.823e-05/0.3916, allocations: 113.8 kB / 1.077 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.634e-05/0.3916, allocations: 7.906 kB / 1.077 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.11e-05/0.3917, allocations: 11.81 kB / 1.077 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3917, allocations: 4 kB / 1.077 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.3917, allocations: 4 kB / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3917, allocations: 3.938 kB / 1.077 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004326/0.3921, allocations: 478.7 kB / 1.078 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.3921, allocations: 0 / 1.078 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.25e-05/0.3922, allocations: 4 kB / 1.078 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3922, allocations: 96 / 1.078 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.3922, allocations: 0 / 1.078 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3922, allocations: 0 / 1.078 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.3922, allocations: 7.984 kB / 1.078 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.3923, allocations: 89.83 kB / 1.078 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.496e-05/0.3924, allocations: 81.02 kB / 1.078 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.3924, allocations: 4 kB / 1.078 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.981e-05/0.3924, allocations: 0 / 1.078 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.623e-05/0.3924, allocations: 0 / 1.078 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.3925, allocations: 7.984 kB / 1.078 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.266e-05/0.3926, allocations: 121.3 kB / 1.078 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3926, allocations: 4 kB / 1.078 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001899/0.3928, allocations: 4 kB / 1.078 GB, free: 3.207 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.0001535/0.3929, allocations: 99.23 kB / 1.078 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000107/0.393, allocations: 19.94 kB / 1.078 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.393, allocations: 0 / 1.078 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-05/0.3931, allocations: 8.125 kB / 1.078 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.3933, allocations: 16 kB / 1.078 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004428/0.3937, allocations: 176.6 kB / 1.078 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.3941, allocations: 0.7004 MB / 1.079 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.972e-05/0.3942, allocations: 8.422 kB / 1.079 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.3942, allocations: 11.44 kB / 1.079 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of SimCode: time 5.81e-07/0.3942, allocations: 3.938 kB / 1.079 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of Templates: time 0.003242/0.3975, allocations: 416.6 kB / 1.079 GB, free: 1.691 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)