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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.633/1.633, allocations: 289.9 MB / 297.4 MB, free: 6.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 176.4 kB / 366.7 MB, free: 1.652 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 205.2 MB / 0.626 GB, free: 7.191 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009049/0.0009048, allocations: 106.5 kB / 0.7401 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.951e-05/1.961e-05, allocations: 4 kB / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7146/0.7147, allocations: 116.3 MB / 0.9733 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2071/0.9218, allocations: 137.8 MB / 1.108 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.9221, allocations: 71.94 kB / 1.108 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.002688/0.9248, allocations: 1.147 MB / 1.109 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9249, allocations: 0.75 kB / 1.109 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.9249, allocations: 4 kB / 1.109 GB, free: 11.23 MB / 0.7136 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.0003953/0.9253, allocations: 359.5 kB / 1.109 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.9253, allocations: 12.84 kB / 1.109 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/0.9254, allocations: 11.81 kB / 1.109 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.9256, allocations: 191.2 kB / 1.11 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.9256, allocations: 0.5938 kB / 1.11 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.9256, allocations: 4 kB / 1.11 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001065/0.9257, allocations: 32.72 kB / 1.11 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.9259, allocations: 83.89 kB / 1.11 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.9259, allocations: 4.844 kB / 1.11 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.9259, allocations: 0 / 1.11 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.9259, allocations: 4.781 kB / 1.11 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005563/0.9265, allocations: 418.8 kB / 1.11 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.066e-05/0.9266, allocations: 39.17 kB / 1.11 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.996e-05/0.9266, allocations: 17.75 kB / 1.11 GB, free: 9.93 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.9266, allocations: 4.062 kB / 1.11 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.9267, allocations: 36.98 kB / 1.11 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.9267, allocations: 1.312 kB / 1.11 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001557/0.9268, allocations: 37.7 kB / 1.11 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.9269, allocations: 85.58 kB / 1.11 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.927, allocations: 130.8 kB / 1.11 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.927, allocations: 25.7 kB / 1.11 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.093e-05/0.9271, allocations: 108.1 kB / 1.111 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.784e-06/0.9271, allocations: 7.906 kB / 1.111 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.9271, allocations: 0 / 1.111 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.9273, allocations: 321.6 kB / 1.111 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.728e-05/0.9273, allocations: 4 kB / 1.111 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.483e-05/0.9273, allocations: 20.28 kB / 1.111 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.492e-05/0.9273, allocations: 12.88 kB / 1.111 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.9274, allocations: 0 / 1.111 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.623e-05/0.9274, allocations: 60.97 kB / 1.111 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.9275, allocations: 10.48 kB / 1.111 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.9275, allocations: 4 kB / 1.111 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.9275, allocations: 0 / 1.111 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.212e-05/0.9276, allocations: 8 kB / 1.111 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/0.9276, allocations: 0 / 1.111 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.915e-05/0.9276, allocations: 7.938 kB / 1.111 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.9276, allocations: 3.984 kB / 1.111 GB, free: 9.004 MB / 0.7136 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.092e-05/0.9277, allocations: 104.6 kB / 1.111 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.706e-05/0.9278, allocations: 10.86 kB / 1.111 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.176e-05/0.9278, allocations: 11.92 kB / 1.111 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.9278, allocations: 0 / 1.111 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.9278, allocations: 96 / 1.111 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.9278, allocations: 7.109 kB / 1.111 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003485/0.9282, allocations: 450.2 kB / 1.112 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.9282, allocations: 4 kB / 1.112 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.377e-05/0.9282, allocations: 3.953 kB / 1.112 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.9282, allocations: 4 kB / 1.112 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.9282, allocations: 0 / 1.112 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.9282, allocations: 0 / 1.112 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.9283, allocations: 3.984 kB / 1.112 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.9284, allocations: 95.7 kB / 1.112 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.262e-05/0.9284, allocations: 89 kB / 1.112 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.9284, allocations: 0 / 1.112 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.984e-05/0.9285, allocations: 0 / 1.112 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.039e-05/0.9285, allocations: 4 kB / 1.112 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-06/0.9285, allocations: 32 / 1.112 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.584e-05/0.9286, allocations: 112.8 kB / 1.112 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9286, allocations: 0.6562 kB / 1.112 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001677/0.9288, allocations: 8 kB / 1.112 GB, free: 8.02 MB / 0.7136 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001356/0.9289, allocations: 95.25 kB / 1.112 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.809e-05/0.929, allocations: 19.94 kB / 1.112 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.929, allocations: 0 / 1.112 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.09e-05/0.929, allocations: 4 kB / 1.112 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001133/0.9291, allocations: 15.58 kB / 1.112 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002683/0.9294, allocations: 117 kB / 1.112 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.9297, allocations: 0.697 MB / 1.113 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.434e-05/0.9297, allocations: 8.172 kB / 1.113 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.262e-05/0.9298, allocations: 11.44 kB / 1.113 GB, free: 7 MB / 0.7136 GB Notification: Performance of SimCode: time 2.01e-07/0.9298, allocations: 4 kB / 1.113 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of Templates: time 0.002142/0.9319, allocations: 303.6 kB / 1.113 GB, free: 6.727 MB / 0.7136 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)