Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap") translateModel(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8884/0.8884, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 181.7 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 221.3 MB / 441.4 MB, free: 4.59 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009125/0.0009127, allocations: 98.31 kB / 0.5124 GB, free: 24.11 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001892/0.001892, allocations: 272.8 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.958e-05/3.988e-05, allocations: 4 kB / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4526/0.4526, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1301/0.5827, allocations: 110.2 MB / 0.8718 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.583, allocations: 76.39 kB / 0.8719 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.009411/0.5925, allocations: 3.165 MB / 0.875 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5925, allocations: 0 / 0.875 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.5925, allocations: 4 kB / 0.875 GB, free: 11.17 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003866/0.5929, allocations: 350.4 kB / 0.8753 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.593, allocations: 12.03 kB / 0.8753 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.836e-05/0.593, allocations: 0 / 0.8753 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.5932, allocations: 171 kB / 0.8755 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.5932, allocations: 8 kB / 0.8755 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.5932, allocations: 0 / 0.8755 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.5934, allocations: 41.69 kB / 0.8756 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.5934, allocations: 0 / 0.8756 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.5934, allocations: 3.938 kB / 0.8756 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.5934, allocations: 4 kB / 0.8756 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.479e-05/0.5935, allocations: 27.92 kB / 0.8756 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001898/0.5937, allocations: 165.6 kB / 0.8757 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.5938, allocations: 42.58 kB / 0.8758 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.896e-05/0.5938, allocations: 20.98 kB / 0.8758 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.594, allocations: 81.11 kB / 0.8759 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.594, allocations: 30.56 kB / 0.8759 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.594, allocations: 4 kB / 0.8759 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.0001649/0.5942, allocations: 57.62 kB / 0.876 GB, free: 9.984 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.5942, allocations: 51.41 kB / 0.876 GB, free: 9.922 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.137e-05/0.5943, allocations: 93 kB / 0.8761 GB, free: 9.824 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.5943, allocations: 25.7 kB / 0.8761 GB, free: 9.793 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.13e-05/0.5944, allocations: 88.12 kB / 0.8762 GB, free: 9.703 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.5944, allocations: 11.81 kB / 0.8762 GB, free: 9.691 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.5944, allocations: 0 / 0.8762 GB, free: 9.691 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.5945, allocations: 314.8 kB / 0.8765 GB, free: 9.375 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.912e-05/0.5946, allocations: 4 kB / 0.8765 GB, free: 9.371 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.91e-05/0.5946, allocations: 8 kB / 0.8765 GB, free: 9.363 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.91e-05/0.5946, allocations: 12.48 kB / 0.8765 GB, free: 9.352 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5946, allocations: 4.125 kB / 0.8766 GB, free: 9.348 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.983e-05/0.5947, allocations: 61.58 kB / 0.8766 GB, free: 9.281 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.5947, allocations: 4 kB / 0.8766 GB, free: 9.277 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.5948, allocations: 3.938 kB / 0.8766 GB, free: 9.273 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.5948, allocations: 4 kB / 0.8766 GB, free: 9.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.344e-05/0.5949, allocations: 8 kB / 0.8766 GB, free: 9.262 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-06/0.5949, allocations: 0 / 0.8766 GB, free: 9.262 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.718e-05/0.5949, allocations: 11.84 kB / 0.8766 GB, free: 9.25 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.5949, allocations: 0 / 0.8766 GB, free: 9.25 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.224e-05/0.595, allocations: 105 kB / 0.8767 GB, free: 9.141 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.047e-05/0.595, allocations: 11.94 kB / 0.8768 GB, free: 9.129 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001858/0.5952, allocations: 87.73 kB / 0.8768 GB, free: 9.043 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.5952, allocations: 0 / 0.8768 GB, free: 9.043 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5952, allocations: 0 / 0.8768 GB, free: 9.043 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.5952, allocations: 0 / 0.8768 GB, free: 9.043 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.5954, allocations: 158 kB / 0.877 GB, free: 8.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5954, allocations: 4 kB / 0.877 GB, free: 8.836 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.971e-05/0.5954, allocations: 16 kB / 0.877 GB, free: 8.82 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.5954, allocations: 0 / 0.877 GB, free: 8.82 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.5954, allocations: 7.938 kB / 0.877 GB, free: 8.812 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5955, allocations: 0 / 0.877 GB, free: 8.812 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5955, allocations: 0 / 0.877 GB, free: 8.812 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.5956, allocations: 96.91 kB / 0.8771 GB, free: 8.699 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.57e-05/0.5956, allocations: 77.11 kB / 0.8772 GB, free: 8.605 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.5957, allocations: 8 kB / 0.8772 GB, free: 8.598 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.308e-05/0.5957, allocations: 3.953 kB / 0.8772 GB, free: 8.594 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.601e-05/0.5957, allocations: 3.984 kB / 0.8772 GB, free: 8.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.5957, allocations: 4 kB / 0.8772 GB, free: 8.586 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.121e-05/0.5958, allocations: 79.28 kB / 0.8773 GB, free: 8.508 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5958, allocations: 0 / 0.8773 GB, free: 8.508 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002381/0.596, allocations: 47.94 kB / 0.8773 GB, free: 8.461 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0002605/0.5963, allocations: 167.2 kB / 0.8775 GB, free: 8.289 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.069e-05/0.5964, allocations: 31.94 kB / 0.8775 GB, free: 8.258 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5964, allocations: 0 / 0.8775 GB, free: 8.258 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.423e-05/0.5964, allocations: 19.98 kB / 0.8775 GB, free: 8.238 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001003/0.5965, allocations: 0 / 0.8775 GB, free: 8.238 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001924/0.5967, allocations: 65.19 kB / 0.8776 GB, free: 8.152 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.597, allocations: 0.6848 MB / 0.8783 GB, free: 7.441 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.354e-05/0.5971, allocations: 12 kB / 0.8783 GB, free: 7.43 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.57e-05/0.5971, allocations: 11.44 kB / 0.8783 GB, free: 7.418 MB / 0.5417 GB Notification: Performance of SimCode: time 2.1e-07/0.5971, allocations: 0 / 0.8783 GB, free: 7.418 MB / 0.5417 GB Notification: Performance of Templates: time 0.003188/0.6003, allocations: 1.085 MB / 0.8793 GB, free: 6.34 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.makefile (rm -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.sim & ./BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe 2>&1)