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.9221/0.9221, allocations: 141.8 MB / 149.3 MB, free: 9.227 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 179.8 kB / 182.2 MB, free: 9.457 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.387/1.387, allocations: 221.5 MB / 436.4 MB, free: 13.31 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.000914/0.000914, allocations: 88.09 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001702/0.001702, allocations: 269.6 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.72e-05/1.73e-05, allocations: 0 / 0.6765 GB, free: 12.86 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4309/0.431, allocations: 82.78 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1337/0.5647, allocations: 109.5 MB / 0.8643 GB, free: 2.383 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.565, allocations: 71.84 kB / 0.8644 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009532/0.5746, allocations: 3.148 MB / 0.8674 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5746, allocations: 0 / 0.8674 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.054e-06/0.5746, allocations: 0 / 0.8674 GB, free: 15.18 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.0003972/0.575, allocations: 358.4 kB / 0.8678 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.5751, allocations: 16.02 kB / 0.8678 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.975e-05/0.5751, allocations: 0 / 0.8678 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.5752, allocations: 167 kB / 0.868 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.5753, allocations: 0 / 0.868 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.5753, allocations: 4 kB / 0.868 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001026/0.5754, allocations: 23.98 kB / 0.868 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.793e-05/0.5755, allocations: 37.62 kB / 0.868 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.5755, allocations: 0 / 0.868 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.5755, allocations: 4 kB / 0.868 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.5755, allocations: 4 kB / 0.868 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/0.5757, allocations: 138.1 kB / 0.8682 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 6.788e-05/0.5758, allocations: 38.62 kB / 0.8682 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.557e-05/0.5758, allocations: 16.94 kB / 0.8682 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.576, allocations: 85.11 kB / 0.8683 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.576, allocations: 30.56 kB / 0.8683 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/0.576, allocations: 4 kB / 0.8683 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.0335/0.6095, allocations: 1.492 MB / 0.8698 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.6096, allocations: 51.41 kB / 0.8698 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.936e-05/0.6096, allocations: 93 kB / 0.8699 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.6097, allocations: 25.7 kB / 0.8699 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.995e-05/0.6097, allocations: 80.14 kB / 0.87 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.6097, allocations: 7.812 kB / 0.87 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-06/0.6098, allocations: 0 / 0.87 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.26e-05/0.6099, allocations: 322.8 kB / 0.8703 GB, free: 12 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.914e-05/0.6099, allocations: 8.125 kB / 0.8703 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.578e-05/0.6099, allocations: 4 kB / 0.8703 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03295/0.6429, allocations: 1.444 MB / 0.8718 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.6429, allocations: 0 / 0.8718 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.03276/0.6757, allocations: 1.5 MB / 0.8732 GB, free: 9.031 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.6757, allocations: 7.953 kB / 0.8732 GB, free: 9.023 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.6758, allocations: 3.938 kB / 0.8732 GB, free: 9.02 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.6758, allocations: 3.938 kB / 0.8732 GB, free: 9.016 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.652e-05/0.6759, allocations: 11.94 kB / 0.8732 GB, free: 9.004 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.6759, allocations: 0 / 0.8732 GB, free: 9.004 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.651e-05/0.6759, allocations: 11.84 kB / 0.8733 GB, free: 8.992 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.6759, allocations: 7.984 kB / 0.8733 GB, free: 8.984 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 6.864e-05/0.676, allocations: 101 kB / 0.8734 GB, free: 8.879 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.404e-05/0.676, allocations: 4 kB / 0.8734 GB, free: 8.875 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03263/0.7087, allocations: 1.514 MB / 0.8748 GB, free: 7.355 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/0.7087, allocations: 3.984 kB / 0.8748 GB, free: 7.352 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.7087, allocations: 4 kB / 0.8748 GB, free: 7.348 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.7087, allocations: 0 / 0.8748 GB, free: 7.348 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.7089, allocations: 138.1 kB / 0.875 GB, free: 7.176 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.7089, allocations: 0 / 0.875 GB, free: 7.176 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.821e-05/0.709, allocations: 15.92 kB / 0.875 GB, free: 7.16 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.709, allocations: 0 / 0.875 GB, free: 7.16 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.709, allocations: 4 kB / 0.875 GB, free: 7.156 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.709, allocations: 0 / 0.875 GB, free: 7.156 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.709, allocations: 3.953 kB / 0.875 GB, free: 7.152 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03277/0.7418, allocations: 1.515 MB / 0.8765 GB, free: 5.617 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.7419, allocations: 81.11 kB / 0.8766 GB, free: 5.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.7419, allocations: 4 kB / 0.8766 GB, free: 5.516 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.26e-05/0.7419, allocations: 0 / 0.8766 GB, free: 5.516 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.828e-05/0.7419, allocations: 4 kB / 0.8766 GB, free: 5.512 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.742, allocations: 8.141 kB / 0.8766 GB, free: 5.504 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.801e-05/0.742, allocations: 79.27 kB / 0.8767 GB, free: 5.426 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.742, allocations: 0 / 0.8767 GB, free: 5.426 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000309/0.7423, allocations: 47.94 kB / 0.8767 GB, free: 5.379 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.0002992/0.7426, allocations: 175.1 kB / 0.8769 GB, free: 5.199 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.866e-05/0.7427, allocations: 24 kB / 0.8769 GB, free: 5.176 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7428, allocations: 0 / 0.8769 GB, free: 5.176 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.505e-05/0.7428, allocations: 15.94 kB / 0.8769 GB, free: 5.16 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000106/0.7429, allocations: 0.8594 kB / 0.8769 GB, free: 5.16 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001915/0.7431, allocations: 63.94 kB / 0.877 GB, free: 5.074 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.7433, allocations: 0.6807 MB / 0.8776 GB, free: 4.367 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.121e-05/0.7434, allocations: 18.42 kB / 0.8776 GB, free: 4.352 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.826e-05/0.7434, allocations: 19.42 kB / 0.8777 GB, free: 4.332 MB / 0.5417 GB Notification: Performance of SimCode: time 2.61e-07/0.7434, allocations: 0 / 0.8777 GB, free: 4.332 MB / 0.5417 GB Notification: Performance of Templates: time 0.003051/0.7465, allocations: 1.066 MB / 0.8787 GB, free: 3.273 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)