Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.227/2.227, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 201.4 kB / 499.1 MB, free: 4.684 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 222.9 MB / 0.7948 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 111.3 kB / 0.9329 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001148, allocations: 57.98 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2989, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002212/0.3011, allocations: 0.8768 MB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0001373/0.3013, allocations: 47.78 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.321e-05/0.3014, allocations: 3.938 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.802e-05/0.3014, allocations: 3.938 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.184e-05/0.3015, allocations: 7.922 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 4.687e-05/0.3016, allocations: 16 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 8.757e-05/0.3017, allocations: 55.91 kB / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.3018, allocations: 39.97 kB / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.829e-05/0.3019, allocations: 27.8 kB / 1.219 GB, free: 116.1 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.621e-05/0.3019, allocations: 27.8 kB / 1.219 GB, free: 116.1 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.302, allocations: 4 kB / 1.219 GB, free: 116.1 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 9.958e-06/0.302, allocations: 4 kB / 1.219 GB, free: 116.1 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.302, allocations: 15.92 kB / 1.219 GB, free: 116.1 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.537e-05/0.302, allocations: 23.81 kB / 1.219 GB, free: 116.1 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 9.136e-05/0.3021, allocations: 81.8 kB / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3022, allocations: 0 / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3022, allocations: 4 kB / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.3022, allocations: 0 / 1.219 GB, free: 116 MB / 0.823 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.0003805/0.3026, allocations: 371.2 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3026, allocations: 15.98 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.3026, allocations: 8.844 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.3028, allocations: 192.1 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.3028, allocations: 8.375 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.3029, allocations: 8.375 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.303, allocations: 95.89 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.303, allocations: 192 / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.303, allocations: 3.938 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-06/0.3031, allocations: 4 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.651e-05/0.3031, allocations: 35.98 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004566/0.3036, allocations: 440.5 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.403e-05/0.3036, allocations: 41.16 kB / 1.22 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.291e-05/0.3037, allocations: 21.78 kB / 1.22 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.3037, allocations: 4 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/0.3037, allocations: 38.59 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.3037, allocations: 0 / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001586/0.3039, allocations: 57.47 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.3039, allocations: 77.11 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.304, allocations: 160.7 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.084e-06/0.3041, allocations: 25.95 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.755e-05/0.3041, allocations: 115.9 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.287e-06/0.3042, allocations: 7.906 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/0.3042, allocations: 21.62 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.417e-05/0.3042, allocations: 318.8 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/0.3043, allocations: 4 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.747e-05/0.3043, allocations: 17.72 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.456e-05/0.3043, allocations: 29.66 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3043, allocations: 0 / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.015e-05/0.3044, allocations: 57.69 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.3044, allocations: 5.25 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3044, allocations: 3.938 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3044, allocations: 4 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.053e-05/0.3045, allocations: 7.938 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.3045, allocations: 0 / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.021e-05/0.3046, allocations: 11.97 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.3046, allocations: 3.984 kB / 1.221 GB, free: 113.5 MB / 0.823 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 5.407e-05/0.3046, allocations: 114.5 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.3047, allocations: 7.906 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.499e-05/0.3047, allocations: 15.81 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3047, allocations: 0 / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3047, allocations: 0 / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3047, allocations: 0 / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/0.305, allocations: 474.8 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.305, allocations: 3.984 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.863e-05/0.305, allocations: 4 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.305, allocations: 0 / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.3051, allocations: 4 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.3051, allocations: 0 / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3051, allocations: 0 / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.3053, allocations: 0.6403 MB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.008e-05/0.3053, allocations: 92.86 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.3053, allocations: 0 / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.99e-05/0.3053, allocations: 0 / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.729e-05/0.3054, allocations: 11.86 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.3054, allocations: 4.094 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.982e-05/0.3054, allocations: 133.6 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 1e-07/0.3054, allocations: 0 / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002851/0.3057, allocations: 4 kB / 1.223 GB, free: 111.9 MB / 0.823 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.0001066/0.3058, allocations: 103.2 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 6.805e-05/0.3059, allocations: 12 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3059, allocations: 0 / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.013e-05/0.3059, allocations: 8.125 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.3061, allocations: 16.05 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/0.3064, allocations: 279.3 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.3065, allocations: 0.6965 MB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.068e-05/0.3066, allocations: 4.438 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.829e-05/0.3066, allocations: 11.44 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of SimCode: time 2.11e-07/0.3066, allocations: 0 / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of Templates: time 0.002207/0.3088, allocations: 461.3 kB / 1.224 GB, free: 110.2 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1)