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.001163/0.001163, allocations: 110.4 kB / 16.42 MB, free: 6.512 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.001064/0.001064, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.306/1.306, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00214/0.00214, allocations: 289.4 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 0.944/0.944, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 87.86 kB / 0.6821 GB, free: 7.031 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3763, allocations: 86.98 MB / 0.767 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.002/0.3784, allocations: 1.253 MB / 0.7682 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.3797, allocations: 0.8664 MB / 0.7691 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.507e-05/0.3797, allocations: 4 kB / 0.7691 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.546e-05/0.3797, allocations: 0 / 0.7691 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.721e-05/0.3798, allocations: 7.922 kB / 0.7691 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004631/0.3803, allocations: 135.5 kB / 0.7692 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.935e-05/0.3803, allocations: 31.84 kB / 0.7693 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.447e-05/0.3804, allocations: 3.938 kB / 0.7693 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.262e-05/0.3805, allocations: 11.98 kB / 0.7693 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.67e-05/0.3805, allocations: 19.94 kB / 0.7693 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.3805, allocations: 3.984 kB / 0.7693 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002976/0.3808, allocations: 163.8 kB / 0.7695 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.3809, allocations: 11.98 kB / 0.7695 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.341e-05/0.3809, allocations: 7.938 kB / 0.7695 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.3811, allocations: 119.5 kB / 0.7696 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3811, allocations: 0 / 0.7696 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3811, allocations: 0 / 0.7696 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.3811, allocations: 0 / 0.7696 GB, free: 1.324 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.0003736/0.3815, allocations: 365.9 kB / 0.7699 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3816, allocations: 16.02 kB / 0.7699 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.082e-05/0.3816, allocations: 0.9375 kB / 0.7699 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.3817, allocations: 160.4 kB / 0.7701 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.3817, allocations: 384 / 0.7701 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.3818, allocations: 4.375 kB / 0.7701 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.3819, allocations: 49.94 kB / 0.7702 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.3819, allocations: 0 / 0.7702 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.3819, allocations: 0 / 0.7702 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3819, allocations: 0 / 0.7702 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.699e-05/0.382, allocations: 31.97 kB / 0.7702 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.3822, allocations: 161.6 kB / 0.7703 GB, free: 424 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.521e-05/0.3822, allocations: 34.62 kB / 0.7704 GB, free: 380 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.973e-05/0.3823, allocations: 16.98 kB / 0.7704 GB, free: 360 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001242/0.3824, allocations: 85.09 kB / 0.7705 GB, free: 256 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.3824, allocations: 46.44 kB / 0.7705 GB, free: 200 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.3825, allocations: 4 kB / 0.7705 GB, free: 196 kB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0001766/0.3826, allocations: 61.88 kB / 0.7706 GB, free: 128 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.417e-05/0.3827, allocations: 51.41 kB / 0.7706 GB, free: 64 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.248e-05/0.3827, allocations: 93.86 kB / 0.7707 GB, free: 15.96 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.3828, allocations: 25.7 kB / 0.7707 GB, free: 15.93 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.523e-05/0.3828, allocations: 80.14 kB / 0.7708 GB, free: 15.85 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.3828, allocations: 19.7 kB / 0.7708 GB, free: 15.83 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.3829, allocations: 21.72 kB / 0.7709 GB, free: 15.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.241e-05/0.383, allocations: 315 kB / 0.7712 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.351e-05/0.383, allocations: 12.05 kB / 0.7712 GB, free: 15.47 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.03e-05/0.383, allocations: 8 kB / 0.7712 GB, free: 15.46 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.875e-05/0.3831, allocations: 32.8 kB / 0.7712 GB, free: 15.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.3831, allocations: 0 / 0.7712 GB, free: 15.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.035e-05/0.3832, allocations: 49.69 kB / 0.7713 GB, free: 15.38 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.3832, allocations: 19.81 kB / 0.7713 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.3832, allocations: 0 / 0.7713 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.3832, allocations: 0 / 0.7713 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.531e-05/0.3833, allocations: 15.98 kB / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.3833, allocations: 0 / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.33e-05/0.3834, allocations: 0 / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.3834, allocations: 8 kB / 0.7713 GB, free: 15.33 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 6.759e-05/0.3835, allocations: 112.2 kB / 0.7714 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.3835, allocations: 7.938 kB / 0.7714 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001785/0.3837, allocations: 85.12 kB / 0.7715 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3837, allocations: 0 / 0.7715 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3837, allocations: 0 / 0.7715 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.371e-05/0.3837, allocations: 89.03 kB / 0.7716 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.3837, allocations: 4 kB / 0.7716 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.34e-05/0.3838, allocations: 0 / 0.7716 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.584e-05/0.3838, allocations: 4 kB / 0.7716 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001309/0.3839, allocations: 141.2 kB / 0.7717 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001516/0.3841, allocations: 242.8 kB / 0.772 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.155e-05/0.3841, allocations: 19.97 kB / 0.772 GB, free: 14.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.744e-05/0.3841, allocations: 75.28 kB / 0.772 GB, free: 14.51 MB / 0.545 GB Notification: Performance of Backend: time 2.71e-07/0.3842, allocations: 0 / 0.772 GB, free: 14.51 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004902/0.3846, allocations: 155.3 kB / 0.7722 GB, free: 14.36 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003788/0.385, allocations: 0.5699 MB / 0.7727 GB, free: 13.74 MB / 0.545 GB Notification: Performance of Templates: time 0.003417/0.3885, allocations: 1.305 MB / 0.774 GB, free: 12.44 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe 2>&1)