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.001202/0.001202, allocations: 103.5 kB / 16.41 MB, free: 6.484 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.001205/0.001205, allocations: 187 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.246/1.246, 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.002085/0.002085, allocations: 288.7 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.8859/0.8859, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 95.84 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3965, allocations: 86.97 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.002332/0.3988, allocations: 1.249 MB / 0.7682 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00129/0.4001, allocations: 0.8741 MB / 0.7691 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.039e-05/0.4002, allocations: 0 / 0.7691 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.575e-05/0.4002, allocations: 0 / 0.7691 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.959e-05/0.4003, allocations: 7.922 kB / 0.7691 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004901/0.4008, allocations: 135.5 kB / 0.7692 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.046e-05/0.4008, allocations: 27.91 kB / 0.7692 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/0.4009, allocations: 4 kB / 0.7692 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.495e-05/0.401, allocations: 15.92 kB / 0.7693 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.558e-05/0.401, allocations: 15.92 kB / 0.7693 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.401, allocations: 0 / 0.7693 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002931/0.4013, allocations: 167.7 kB / 0.7694 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.959e-05/0.4014, allocations: 8 kB / 0.7694 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.591e-05/0.4014, allocations: 11.92 kB / 0.7695 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.4017, allocations: 115.5 kB / 0.7696 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.4017, allocations: 4 kB / 0.7696 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4017, allocations: 0 / 0.7696 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.4017, allocations: 0 / 0.7696 GB, free: 1.293 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.0003957/0.4021, allocations: 369.9 kB / 0.7699 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.4021, allocations: 8.031 kB / 0.7699 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.4022, allocations: 0.9375 kB / 0.7699 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.4023, allocations: 164.4 kB / 0.7701 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.4023, allocations: 384 / 0.7701 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.4023, allocations: 384 / 0.7701 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.4024, allocations: 50 kB / 0.7701 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.4025, allocations: 0 / 0.7701 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.4025, allocations: 7.938 kB / 0.7701 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.4025, allocations: 0 / 0.7701 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.403e-05/0.4026, allocations: 27.97 kB / 0.7702 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001683/0.4027, allocations: 161.6 kB / 0.7703 GB, free: 392 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.436e-05/0.4028, allocations: 42.62 kB / 0.7704 GB, free: 340 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.435e-05/0.4028, allocations: 8.859 kB / 0.7704 GB, free: 328 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001292/0.403, allocations: 93.09 kB / 0.7705 GB, free: 216 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.403, allocations: 38.62 kB / 0.7705 GB, free: 168 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.403, allocations: 0 / 0.7705 GB, free: 168 kB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0001857/0.4032, allocations: 65.81 kB / 0.7706 GB, free: 96 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.4032, allocations: 51.41 kB / 0.7706 GB, free: 32 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.5e-05/0.4033, allocations: 93.86 kB / 0.7707 GB, free: 15.93 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.4034, allocations: 25.7 kB / 0.7707 GB, free: 15.9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.626e-05/0.4034, allocations: 84.27 kB / 0.7708 GB, free: 15.81 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.4034, allocations: 23.7 kB / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.4035, allocations: 17.72 kB / 0.7708 GB, free: 15.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.702e-05/0.4036, allocations: 310.8 kB / 0.7711 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.17e-05/0.4036, allocations: 15.98 kB / 0.7712 GB, free: 15.44 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.814e-05/0.4036, allocations: 8.062 kB / 0.7712 GB, free: 15.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.097e-05/0.4037, allocations: 28.8 kB / 0.7712 GB, free: 15.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4037, allocations: 0 / 0.7712 GB, free: 15.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.914e-05/0.4038, allocations: 57.69 kB / 0.7712 GB, free: 15.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.4038, allocations: 7.938 kB / 0.7713 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.4038, allocations: 3.938 kB / 0.7713 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.4038, allocations: 0 / 0.7713 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.494e-05/0.4039, allocations: 11.98 kB / 0.7713 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.4039, allocations: 7.984 kB / 0.7713 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.431e-05/0.404, allocations: 7.938 kB / 0.7713 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.404, allocations: 0 / 0.7713 GB, free: 15.3 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.645e-05/0.404, allocations: 112.2 kB / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.363e-05/0.4041, allocations: 7.938 kB / 0.7714 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/0.4042, allocations: 85.08 kB / 0.7715 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.4042, allocations: 0 / 0.7715 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4043, allocations: 3.984 kB / 0.7715 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.4043, allocations: 3.984 kB / 0.7715 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.4044, allocations: 165.6 kB / 0.7716 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4044, allocations: 0 / 0.7716 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.77e-05/0.4044, allocations: 12 kB / 0.7717 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.4045, allocations: 7.938 kB / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/0.4045, allocations: 256 / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.4045, allocations: 4 kB / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4045, allocations: 0 / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.4046, allocations: 93.05 kB / 0.7718 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.251e-05/0.4046, allocations: 84.95 kB / 0.7718 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.4047, allocations: 0 / 0.7718 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.079e-05/0.4047, allocations: 4 kB / 0.7718 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.678e-05/0.4047, allocations: 4 kB / 0.7718 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.4047, allocations: 4 kB / 0.7718 GB, free: 14.62 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.931e-05/0.4048, allocations: 79.27 kB / 0.7719 GB, free: 14.54 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4048, allocations: 0 / 0.7719 GB, free: 14.54 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002489/0.405, allocations: 51.94 kB / 0.772 GB, free: 14.49 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.0002281/0.4052, allocations: 151.2 kB / 0.7721 GB, free: 14.33 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001015/0.4054, allocations: 36.02 kB / 0.7722 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4054, allocations: 7.938 kB / 0.7722 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.57e-05/0.4054, allocations: 12 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.0001463/0.4055, allocations: 13.03 kB / 0.7722 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002773/0.4058, allocations: 152.3 kB / 0.7723 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.4061, allocations: 0.6807 MB / 0.773 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.434e-05/0.4061, allocations: 11.44 kB / 0.773 GB, free: 13.37 MB / 0.545 GB Notification: Performance of SimCode: time 4e-07/0.4061, allocations: 0 / 0.773 GB, free: 13.37 MB / 0.545 GB Notification: Performance of Templates: time 0.002561/0.4087, allocations: 1.193 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe 2>&1)