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) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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=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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 108.3 kB / 16.41 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 193.2 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002519/0.002519, allocations: 292.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.02/1.02, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002766/0.002766, allocations: 95.84 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4566/0.4594, allocations: 86.97 MB / 0.767 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.002316/0.4617, allocations: 1.245 MB / 0.7682 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001445/0.4632, allocations: 0.8703 MB / 0.7691 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.698e-05/0.4632, allocations: 0 / 0.7691 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.27e-05/0.4632, allocations: 7.938 kB / 0.7691 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.61e-05/0.4633, allocations: 3.984 kB / 0.7691 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005025/0.4638, allocations: 142.8 kB / 0.7692 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.752e-05/0.4638, allocations: 31.91 kB / 0.7693 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.49e-05/0.4639, allocations: 4 kB / 0.7693 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.529e-05/0.4639, allocations: 15.92 kB / 0.7693 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.84e-05/0.464, allocations: 11.94 kB / 0.7693 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.464, allocations: 4 kB / 0.7693 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002937/0.4643, allocations: 163.8 kB / 0.7695 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.317e-05/0.4643, allocations: 4 kB / 0.7695 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.581e-05/0.4644, allocations: 11.92 kB / 0.7695 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.4646, allocations: 125.3 kB / 0.7696 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.4646, allocations: 0 / 0.7696 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4646, allocations: 4 kB / 0.7696 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.4646, allocations: 0 / 0.7696 GB, free: 1.277 MB / 0.5294 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.0004515/0.465, allocations: 359.1 kB / 0.7699 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.4651, allocations: 12.02 kB / 0.7699 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.4651, allocations: 8.938 kB / 0.77 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.4652, allocations: 164.4 kB / 0.7701 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.4652, allocations: 384 / 0.7701 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.4653, allocations: 4.375 kB / 0.7701 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.4654, allocations: 50 kB / 0.7702 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.4654, allocations: 4 kB / 0.7702 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-06/0.4654, allocations: 0 / 0.7702 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.4654, allocations: 0 / 0.7702 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.049e-05/0.4655, allocations: 31.91 kB / 0.7702 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002022/0.4657, allocations: 153.7 kB / 0.7703 GB, free: 376 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.786e-05/0.4657, allocations: 38.62 kB / 0.7704 GB, free: 328 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.918e-05/0.4658, allocations: 12.98 kB / 0.7704 GB, free: 312 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001739/0.4659, allocations: 89.09 kB / 0.7705 GB, free: 204 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.466, allocations: 38.5 kB / 0.7705 GB, free: 156 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.466, allocations: 0 / 0.7705 GB, free: 156 kB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0001916/0.4662, allocations: 69.58 kB / 0.7706 GB, free: 80 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.4662, allocations: 55.41 kB / 0.7706 GB, free: 12 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.761e-05/0.4663, allocations: 93.86 kB / 0.7707 GB, free: 15.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.4663, allocations: 25.7 kB / 0.7707 GB, free: 15.88 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.794e-05/0.4664, allocations: 80.14 kB / 0.7708 GB, free: 15.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.4664, allocations: 27.95 kB / 0.7708 GB, free: 15.77 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.4664, allocations: 13.72 kB / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.4666, allocations: 314.8 kB / 0.7712 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.823e-05/0.4666, allocations: 7.984 kB / 0.7712 GB, free: 15.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.29e-05/0.4666, allocations: 12 kB / 0.7712 GB, free: 15.41 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.378e-05/0.4667, allocations: 20.86 kB / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.4667, allocations: 0 / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001416/0.4668, allocations: 65.56 kB / 0.7713 GB, free: 15.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.4669, allocations: 10.75 kB / 0.7713 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.4669, allocations: 7.938 kB / 0.7713 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.4669, allocations: 0 / 0.7713 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.977e-05/0.467, allocations: 12.42 kB / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.467, allocations: 0 / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.394e-05/0.467, allocations: 3.953 kB / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.467, allocations: 4 kB / 0.7713 GB, free: 15.29 MB / 0.545 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 7.939e-05/0.4671, allocations: 109.8 kB / 0.7714 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.4671, allocations: 11.94 kB / 0.7714 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/0.4673, allocations: 85.16 kB / 0.7715 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.4673, allocations: 4 kB / 0.7715 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.4673, allocations: 0 / 0.7715 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.4673, allocations: 0 / 0.7715 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.4674, allocations: 165.6 kB / 0.7717 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4674, allocations: 0 / 0.7717 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.814e-05/0.4675, allocations: 8 kB / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.4675, allocations: 3.938 kB / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.4675, allocations: 12 kB / 0.7717 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4675, allocations: 0 / 0.7717 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.4675, allocations: 0 / 0.7717 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.4676, allocations: 93 kB / 0.7718 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.732e-05/0.4677, allocations: 81.05 kB / 0.7718 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.4677, allocations: 0 / 0.7718 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.382e-05/0.4677, allocations: 4 kB / 0.7719 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/0.4677, allocations: 4 kB / 0.7719 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.4677, allocations: 4 kB / 0.7719 GB, free: 14.61 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.271e-05/0.4678, allocations: 83.27 kB / 0.7719 GB, free: 14.53 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.4678, allocations: 0 / 0.7719 GB, free: 14.53 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002675/0.468, allocations: 47.81 kB / 0.772 GB, free: 14.48 MB / 0.545 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.0002651/0.4683, allocations: 155.1 kB / 0.7721 GB, free: 14.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001086/0.4684, allocations: 23.94 kB / 0.7722 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4684, allocations: 3.938 kB / 0.7722 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.174e-05/0.4684, allocations: 24.08 kB / 0.7722 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.4686, allocations: 3.938 kB / 0.7722 GB, free: 14.26 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/0.4689, allocations: 126.6 kB / 0.7723 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.4692, allocations: 0.6807 MB / 0.773 GB, free: 13.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.725e-05/0.4693, allocations: 19.92 kB / 0.773 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/0.4693, allocations: 11.44 kB / 0.773 GB, free: 13.38 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.4693, allocations: 0 / 0.773 GB, free: 13.38 MB / 0.545 GB Notification: Performance of Templates: time 0.004158/0.4734, allocations: 1.191 MB / 0.7742 GB, free: 12.18 MB / 0.545 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe 2>&1)