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.001476/0.001476, allocations: 118.7 kB / 17.13 MB, free: 5.758 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.001457/0.001457, allocations: 193.2 kB / 20.08 MB, free: 2.848 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.348/1.348, allocations: 225.6 MB / 248.5 MB, free: 3.637 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.002316/0.002316, allocations: 292.4 kB / 303.6 MB, free: 3.68 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.01/1.01, allocations: 180.9 MB / 0.5268 GB, free: 2.715 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.002744/0.002744, allocations: 95.84 kB / 0.7259 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5083/0.5111, allocations: 94.15 MB / 0.8178 GB, free: 7.438 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.001878/0.5129, allocations: 1.26 MB / 0.8191 GB, free: 6.559 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.001087/0.514, allocations: 0.8858 MB / 0.8199 GB, free: 5.949 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.511e-05/0.514, allocations: 0 / 0.8199 GB, free: 5.949 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 1.772e-05/0.5141, allocations: 0 / 0.8199 GB, free: 5.949 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 2.911e-05/0.5141, allocations: 8.703 kB / 0.8199 GB, free: 5.941 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003836/0.5145, allocations: 136.3 kB / 0.8201 GB, free: 5.887 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 9.305e-05/0.5146, allocations: 32.36 kB / 0.8201 GB, free: 5.871 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.049e-05/0.5146, allocations: 0.9062 kB / 0.8201 GB, free: 5.871 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 6.358e-05/0.5147, allocations: 14.81 kB / 0.8201 GB, free: 5.867 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 5.447e-05/0.5147, allocations: 14.03 kB / 0.8201 GB, free: 5.859 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 3.499e-05/0.5148, allocations: 6.234 kB / 0.8201 GB, free: 5.855 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000264/0.515, allocations: 162.2 kB / 0.8203 GB, free: 5.816 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.515, allocations: 9.797 kB / 0.8203 GB, free: 5.809 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.295e-05/0.5151, allocations: 8.531 kB / 0.8203 GB, free: 5.805 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.5153, allocations: 119.8 kB / 0.8204 GB, free: 5.777 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5153, allocations: 0.75 kB / 0.8204 GB, free: 5.777 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.032e-06/0.5153, allocations: 3.938 kB / 0.8204 GB, free: 5.773 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.5153, allocations: 0 / 0.8204 GB, free: 5.773 MB / 0.5763 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.0003045/0.5156, allocations: 363.5 kB / 0.8208 GB, free: 5.395 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.5156, allocations: 9.594 kB / 0.8208 GB, free: 5.395 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.5156, allocations: 5.969 kB / 0.8208 GB, free: 5.391 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.052e-05/0.5157, allocations: 161.5 kB / 0.8209 GB, free: 5.195 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.629e-06/0.5157, allocations: 1.438 kB / 0.8209 GB, free: 5.195 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.415e-06/0.5157, allocations: 2.469 kB / 0.8209 GB, free: 5.195 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.762e-05/0.5158, allocations: 48.7 kB / 0.821 GB, free: 5.156 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.5158, allocations: 0 / 0.821 GB, free: 5.156 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.5158, allocations: 4.781 kB / 0.821 GB, free: 5.152 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.5158, allocations: 8.688 kB / 0.821 GB, free: 5.145 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.281e-05/0.5159, allocations: 25.34 kB / 0.821 GB, free: 5.141 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/0.516, allocations: 155.2 kB / 0.8212 GB, free: 4.949 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 8.634e-05/0.5161, allocations: 36.3 kB / 0.8212 GB, free: 4.922 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.459e-05/0.5161, allocations: 14.98 kB / 0.8212 GB, free: 4.91 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/0.5162, allocations: 84.8 kB / 0.8213 GB, free: 4.816 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.5163, allocations: 40.61 kB / 0.8213 GB, free: 4.77 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.5163, allocations: 0 / 0.8213 GB, free: 4.77 MB / 0.5763 GB Notification: Performance of matching and sorting (n=5): time 0.0001547/0.5164, allocations: 73.81 kB / 0.8214 GB, free: 4.719 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.103e-05/0.5164, allocations: 58.69 kB / 0.8215 GB, free: 4.652 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.998e-05/0.5165, allocations: 92.48 kB / 0.8215 GB, free: 4.555 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 6.172e-06/0.5165, allocations: 27.27 kB / 0.8216 GB, free: 4.523 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 1.073e-05/0.5165, allocations: 80.14 kB / 0.8216 GB, free: 4.441 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.5165, allocations: 18.59 kB / 0.8217 GB, free: 4.426 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.5165, allocations: 21.55 kB / 0.8217 GB, free: 4.406 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 3.254e-05/0.5166, allocations: 316 kB / 0.822 GB, free: 4.09 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.002e-05/0.5166, allocations: 8.062 kB / 0.822 GB, free: 4.09 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.815e-05/0.5166, allocations: 9.531 kB / 0.822 GB, free: 4.086 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.615e-05/0.5167, allocations: 25.67 kB / 0.822 GB, free: 4.07 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.5167, allocations: 3.938 kB / 0.822 GB, free: 4.066 MB / 0.5763 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.578e-05/0.5167, allocations: 55.89 kB / 0.8221 GB, free: 4.027 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.5168, allocations: 12.5 kB / 0.8221 GB, free: 4.023 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.5168, allocations: 0 / 0.8221 GB, free: 4.023 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.5168, allocations: 4 kB / 0.8221 GB, free: 4.02 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.729e-05/0.5168, allocations: 11.2 kB / 0.8221 GB, free: 4.02 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.5168, allocations: 1.156 kB / 0.8221 GB, free: 4.02 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.164e-05/0.5169, allocations: 5.078 kB / 0.8221 GB, free: 4.016 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.5169, allocations: 1.031 kB / 0.8221 GB, free: 4.016 MB / 0.5763 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 3.781e-05/0.5169, allocations: 112 kB / 0.8222 GB, free: 3.898 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.938e-06/0.5169, allocations: 5.125 kB / 0.8222 GB, free: 3.895 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/0.5171, allocations: 89.88 kB / 0.8223 GB, free: 3.84 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.5171, allocations: 1.469 kB / 0.8223 GB, free: 3.84 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.5171, allocations: 0 / 0.8223 GB, free: 3.84 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.5171, allocations: 0 / 0.8223 GB, free: 3.84 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.494e-05/0.5171, allocations: 160.4 kB / 0.8225 GB, free: 3.648 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5171, allocations: 0.5 kB / 0.8225 GB, free: 3.648 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.333e-05/0.5172, allocations: 9.594 kB / 0.8225 GB, free: 3.648 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.5172, allocations: 3.938 kB / 0.8225 GB, free: 3.645 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.5172, allocations: 9.406 kB / 0.8225 GB, free: 3.637 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.5172, allocations: 5.25 kB / 0.8225 GB, free: 3.633 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.5172, allocations: 0 / 0.8225 GB, free: 3.633 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.5173, allocations: 95.33 kB / 0.8226 GB, free: 3.551 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 1.593e-05/0.5173, allocations: 90.11 kB / 0.8227 GB, free: 3.445 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.5173, allocations: 1.219 kB / 0.8227 GB, free: 3.445 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.235e-05/0.5174, allocations: 4 kB / 0.8227 GB, free: 3.441 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.416e-05/0.5174, allocations: 5.812 kB / 0.8227 GB, free: 3.441 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.5174, allocations: 6.5 kB / 0.8227 GB, free: 3.438 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 1.488e-05/0.5174, allocations: 76.84 kB / 0.8228 GB, free: 3.363 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/0.5174, allocations: 0 / 0.8228 GB, free: 3.363 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002618/0.5177, allocations: 50.08 kB / 0.8228 GB, free: 3.352 MB / 0.5763 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.0002053/0.5179, allocations: 157.2 kB / 0.823 GB, free: 3.242 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.000102/0.518, allocations: 28.48 kB / 0.823 GB, free: 3.234 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.518, allocations: 1.031 kB / 0.823 GB, free: 3.234 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 2.738e-05/0.518, allocations: 14.69 kB / 0.823 GB, free: 3.23 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.5181, allocations: 5.312 kB / 0.823 GB, free: 3.227 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002278/0.5184, allocations: 165 kB / 0.8232 GB, free: 3.066 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.533e-05/0.5184, allocations: 0.6776 MB / 0.8238 GB, free: 2.371 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.5184, allocations: 12.69 kB / 0.8238 GB, free: 2.363 MB / 0.5763 GB Notification: Performance of SimCode: time 3.01e-07/0.5184, allocations: 0 / 0.8238 GB, free: 2.363 MB / 0.5763 GB Notification: Performance of Templates: time 0.002782/0.5212, allocations: 1.192 MB / 0.825 GB, free: 2.242 MB / 0.5763 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: 8.075304314959794] Failed to read output from testmodel.py, exit status != 0: 0.528605671832338 0.540794079 0.022255320000000002 Calling exit ...