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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 81.95 kB / 19.87 MB, free: 4.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 169.7 kB / 23.27 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.034/1.034, allocations: 177.1 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001769/0.001769, allocations: 244 kB / 260.5 MB, free: 12.67 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7138/0.7138, allocations: 138.5 MB / 455.5 MB, free: 1.398 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.523e-06/1.523e-06, allocations: 0 / 0.5556 GB, free: 300 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.104e-05, allocations: 5.266 kB / 0.5556 GB, free: 296 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.001823/0.001844, allocations: 1.297 MB / 0.5568 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009951/0.002839, allocations: 0.8996 MB / 0.5577 GB, free: 14.07 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.22e-05/0.002871, allocations: 0 / 0.5577 GB, free: 14.07 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.042e-05/0.002892, allocations: 3.938 kB / 0.5577 GB, free: 14.07 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.782e-05/0.00293, allocations: 3.938 kB / 0.5577 GB, free: 14.06 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003541/0.003284, allocations: 143.4 kB / 0.5578 GB, free: 13.92 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.145e-05/0.003335, allocations: 27.86 kB / 0.5579 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.532e-05/0.003371, allocations: 7.984 kB / 0.5579 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.003493, allocations: 27.86 kB / 0.5579 GB, free: 13.86 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.211e-05/0.003545, allocations: 15.97 kB / 0.5579 GB, free: 13.84 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.00356, allocations: 0 / 0.5579 GB, free: 13.84 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001982/0.003759, allocations: 151.8 kB / 0.5581 GB, free: 13.7 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.003772, allocations: 15.92 kB / 0.5581 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.599e-05/0.003788, allocations: 4 kB / 0.5581 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.003966, allocations: 163.5 kB / 0.5582 GB, free: 13.52 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.003968, allocations: 4 kB / 0.5582 GB, free: 13.51 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003969, allocations: 0 / 0.5582 GB, free: 13.51 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.095e-06/0.003972, allocations: 4 kB / 0.5583 GB, free: 13.51 MB / 490.7 MB 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.0002904/0.004262, allocations: 392.2 kB / 0.5586 GB, free: 13.09 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.004302, allocations: 12.75 kB / 0.5586 GB, free: 13.08 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.595e-05/0.004378, allocations: 4.938 kB / 0.5586 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.257e-05/0.004451, allocations: 108.6 kB / 0.5587 GB, free: 12.94 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.004463, allocations: 4.375 kB / 0.5588 GB, free: 12.94 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.58e-06/0.004469, allocations: 384 / 0.5588 GB, free: 12.94 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.734e-05/0.004536, allocations: 42.25 kB / 0.5588 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-06/0.004542, allocations: 192 / 0.5588 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.29e-06/0.004547, allocations: 384 / 0.5588 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.004553, allocations: 11.88 kB / 0.5588 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.021e-05/0.004583, allocations: 19.97 kB / 0.5588 GB, free: 12.86 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.66e-05/0.00468, allocations: 97.27 kB / 0.5589 GB, free: 12.74 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.422e-05/0.004724, allocations: 43.03 kB / 0.559 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.485e-05/0.004739, allocations: 15.69 kB / 0.559 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.762e-05/0.004816, allocations: 27.89 kB / 0.559 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.004833, allocations: 33.39 kB / 0.559 GB, free: 12.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 7.12e-07/0.004834, allocations: 0 / 0.559 GB, free: 12.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001133/0.004947, allocations: 61.58 kB / 0.5591 GB, free: 12.53 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.004972, allocations: 55.41 kB / 0.5591 GB, free: 12.46 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.475e-05/0.005027, allocations: 157.9 kB / 0.5593 GB, free: 12.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.316e-06/0.005035, allocations: 25.7 kB / 0.5593 GB, free: 12.26 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.031e-05/0.005065, allocations: 130.9 kB / 0.5594 GB, free: 12.13 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.005093, allocations: 23.81 kB / 0.5595 GB, free: 12.11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/0.005117, allocations: 19.38 kB / 0.5595 GB, free: 12.08 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.005217, allocations: 496.1 kB / 0.56 GB, free: 11.58 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.183e-05/0.005229, allocations: 7.984 kB / 0.56 GB, free: 11.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.02e-05/0.005239, allocations: 4 kB / 0.56 GB, free: 11.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.057e-05/0.00527, allocations: 23.62 kB / 0.56 GB, free: 11.54 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.005271, allocations: 0 / 0.56 GB, free: 11.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.018e-05/0.005331, allocations: 53.81 kB / 0.56 GB, free: 11.48 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.005342, allocations: 4 kB / 0.56 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.005347, allocations: 4 kB / 0.56 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.005357, allocations: 0 / 0.56 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.121e-05/0.005408, allocations: 11.98 kB / 0.5601 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.005411, allocations: 3.938 kB / 0.5601 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.375e-05/0.005424, allocations: 11.89 kB / 0.5601 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-06/0.005427, allocations: 0 / 0.5601 GB, free: 11.45 MB / 490.7 MB 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 5.643e-05/0.005484, allocations: 160.6 kB / 0.5602 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.18e-06/0.005489, allocations: 4.375 kB / 0.5602 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.005597, allocations: 77.55 kB / 0.5603 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.0056, allocations: 8 kB / 0.5603 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.005601, allocations: 0 / 0.5603 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.005606, allocations: 7.922 kB / 0.5603 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.538e-05/0.005671, allocations: 93.27 kB / 0.5604 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.005672, allocations: 0 / 0.5604 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.308e-05/0.005695, allocations: 12 kB / 0.5604 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.005696, allocations: 0 / 0.5604 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-06/0.005701, allocations: 8 kB / 0.5604 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.005702, allocations: 0 / 0.5604 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.005705, allocations: 3.984 kB / 0.5604 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.978e-05/0.005775, allocations: 100.3 kB / 0.5605 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-06/0.00578, allocations: 0 / 0.5605 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.556e-06/0.005788, allocations: 4 kB / 0.5605 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.897e-06/0.005797, allocations: 4 kB / 0.5605 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.148e-05/0.005808, allocations: 3.984 kB / 0.5605 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.005812, allocations: 4 kB / 0.5605 GB, free: 10.91 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.772e-05/0.00584, allocations: 123.2 kB / 0.5607 GB, free: 10.79 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00584, allocations: 4.094 kB / 0.5607 GB, free: 10.78 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001688/0.006008, allocations: 47.81 kB / 0.5607 GB, free: 10.73 MB / 490.7 MB 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.0001749/0.006183, allocations: 163 kB / 0.5609 GB, free: 10.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.798e-05/0.006251, allocations: 35.53 kB / 0.5609 GB, free: 10.53 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.006255, allocations: 8 kB / 0.5609 GB, free: 10.52 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.574e-05/0.006271, allocations: 19.67 kB / 0.5609 GB, free: 10.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.743e-05/0.006368, allocations: 7.938 kB / 0.5609 GB, free: 10.49 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001894/0.006557, allocations: 130.3 kB / 0.5611 GB, free: 10.33 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.754e-05/0.006585, allocations: 59.34 kB / 0.5611 GB, free: 10.25 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.074e-05/0.006616, allocations: 11.98 kB / 0.5611 GB, free: 10.24 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.759e-05/0.006653, allocations: 70.2 kB / 0.5612 GB, free: 10.17 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/0.006654, allocations: 0 / 0.5612 GB, free: 10.17 MB / 490.7 MB Notification: Performance of Templates: time 0.002607/0.009261, allocations: 1.461 MB / 0.5626 GB, free: 8.719 MB / 490.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6278954870067537]