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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 110.5 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001898/0.001898, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.6 MB / 249.4 MB, free: 3.32 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00236/0.00236, allocations: 288.6 kB / 304.8 MB, free: 3.457 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.102/1.102, allocations: 180.9 MB / 0.5282 GB, free: 2.02 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap") translateModel(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00279/0.00279, allocations: 99.84 kB / 0.7283 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5754/0.5782, allocations: 94.16 MB / 0.8202 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.002349/0.5806, allocations: 1.26 MB / 0.8215 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.5819, allocations: 0.8818 MB / 0.8223 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.437e-05/0.582, allocations: 0 / 0.8223 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.325e-05/0.582, allocations: 4.422 kB / 0.8223 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.861e-05/0.582, allocations: 7.938 kB / 0.8224 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004822/0.5825, allocations: 136.1 kB / 0.8225 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.588e-05/0.5826, allocations: 23.77 kB / 0.8225 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.334e-05/0.5827, allocations: 6.922 kB / 0.8225 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.672e-05/0.5828, allocations: 17.11 kB / 0.8225 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.139e-05/0.5828, allocations: 17.94 kB / 0.8225 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.5828, allocations: 1.312 kB / 0.8225 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003209/0.5832, allocations: 164.5 kB / 0.8227 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.5832, allocations: 2.516 kB / 0.8227 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.832e-05/0.5832, allocations: 17.17 kB / 0.8227 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.5835, allocations: 119.2 kB / 0.8228 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5835, allocations: 0.6562 kB / 0.8228 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5835, allocations: 0 / 0.8228 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.5835, allocations: 5.25 kB / 0.8228 GB, free: 5.898 MB / 0.5762 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.0003682/0.5838, allocations: 358.3 kB / 0.8232 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.5839, allocations: 9.344 kB / 0.8232 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.5839, allocations: 5.781 kB / 0.8232 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.902e-05/0.584, allocations: 167.3 kB / 0.8234 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.584, allocations: 1.219 kB / 0.8234 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.584, allocations: 6 kB / 0.8234 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.5841, allocations: 47.61 kB / 0.8234 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.5841, allocations: 0.7031 kB / 0.8234 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.5842, allocations: 0 / 0.8234 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.5842, allocations: 1.656 kB / 0.8234 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.841e-05/0.5842, allocations: 25.52 kB / 0.8234 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001349/0.5844, allocations: 159 kB / 0.8236 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.034e-05/0.5844, allocations: 41.11 kB / 0.8236 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.547e-05/0.5845, allocations: 15.69 kB / 0.8236 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.5846, allocations: 88.78 kB / 0.8237 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.5846, allocations: 35.06 kB / 0.8238 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.5846, allocations: 0 / 0.8238 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0001793/0.5848, allocations: 67.52 kB / 0.8238 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/0.5848, allocations: 55.41 kB / 0.8239 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.668e-05/0.5848, allocations: 98.8 kB / 0.824 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.065e-06/0.5849, allocations: 25.7 kB / 0.824 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.56e-05/0.5849, allocations: 84.78 kB / 0.8241 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.5849, allocations: 16.12 kB / 0.8241 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/0.5849, allocations: 18.98 kB / 0.8241 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.712e-05/0.585, allocations: 319.7 kB / 0.8244 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.966e-05/0.585, allocations: 7.844 kB / 0.8244 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.737e-05/0.585, allocations: 8.672 kB / 0.8244 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.696e-05/0.5851, allocations: 29.88 kB / 0.8245 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5851, allocations: 0 / 0.8245 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.577e-05/0.5851, allocations: 59.23 kB / 0.8245 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.5852, allocations: 10.5 kB / 0.8245 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.5852, allocations: 0 / 0.8245 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.5852, allocations: 0.6562 kB / 0.8245 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.422e-05/0.5852, allocations: 14.44 kB / 0.8245 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.5853, allocations: 0 / 0.8245 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.215e-05/0.5853, allocations: 8.469 kB / 0.8245 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.5853, allocations: 3.781 kB / 0.8246 GB, free: 4.137 MB / 0.5762 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.717e-05/0.5853, allocations: 114.9 kB / 0.8247 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.017e-05/0.5853, allocations: 7.438 kB / 0.8247 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000178/0.5855, allocations: 83.41 kB / 0.8247 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.5855, allocations: 4 kB / 0.8248 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.5855, allocations: 0 / 0.8248 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5855, allocations: 3.609 kB / 0.8248 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.519e-05/0.5856, allocations: 159.1 kB / 0.8249 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.5856, allocations: 2.688 kB / 0.8249 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.422e-05/0.5857, allocations: 10.86 kB / 0.8249 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.5857, allocations: 3.938 kB / 0.8249 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.5857, allocations: 0.5625 kB / 0.8249 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.5857, allocations: 0.5625 kB / 0.8249 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.5857, allocations: 1.312 kB / 0.8249 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.567e-05/0.5858, allocations: 96.42 kB / 0.825 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.291e-05/0.5858, allocations: 88.38 kB / 0.8251 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.5858, allocations: 0 / 0.8251 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.061e-05/0.5858, allocations: 0.5156 kB / 0.8251 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.122e-05/0.5858, allocations: 4.547 kB / 0.8251 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.78e-06/0.5858, allocations: 10.59 kB / 0.8251 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.073e-05/0.5859, allocations: 78.31 kB / 0.8252 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5859, allocations: 96 / 0.8252 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002489/0.5861, allocations: 49 kB / 0.8252 GB, free: 3.477 MB / 0.5762 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 () * Number of clocked 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 (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.0002382/0.5864, allocations: 161.2 kB / 0.8254 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.5865, allocations: 24.17 kB / 0.8254 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.5865, allocations: 0 / 0.8254 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.755e-05/0.5865, allocations: 21.31 kB / 0.8254 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.5866, allocations: 7.906 kB / 0.8254 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002793/0.5869, allocations: 138.5 kB / 0.8256 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.587, allocations: 0.6772 MB / 0.8262 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.825e-05/0.5871, allocations: 12.55 kB / 0.8262 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.218e-05/0.5871, allocations: 11.73 kB / 0.8263 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.5871, allocations: 0 / 0.8263 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of Templates: time 0.003914/0.591, allocations: 1.206 MB / 0.8274 GB, free: 2.371 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.520457395352423]