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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7285/0.7285, allocations: 140.1 MB / 156 MB, free: 5.176 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001269/0.001269, allocations: 173.4 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 205.4 MB / 426.3 MB, free: 8.461 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008838/0.0008839, allocations: 90.09 kB / 0.4945 GB, free: 8.41 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001678/0.001678, allocations: 266.6 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004767/0.0004768, allocations: 24 kB / 0.662 GB, free: 6.824 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3628, allocations: 79.29 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.165/0.5279, allocations: 108.8 MB / 0.8457 GB, free: 1.445 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/0.5282, allocations: 75.95 kB / 0.8457 GB, free: 1.371 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.00953/0.5378, allocations: 3.084 MB / 0.8488 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.196e-06/0.5378, allocations: 0 / 0.8488 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.315e-05/0.5379, allocations: 12 kB / 0.8488 GB, free: 14.27 MB / 0.5261 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.0005122/0.5384, allocations: 355.4 kB / 0.8491 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.5384, allocations: 12.03 kB / 0.8491 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.737e-05/0.5385, allocations: 4.844 kB / 0.8491 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.5387, allocations: 172.3 kB / 0.8493 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.5387, allocations: 4.375 kB / 0.8493 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.5387, allocations: 384 / 0.8493 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.5389, allocations: 42.25 kB / 0.8493 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.5389, allocations: 4.172 kB / 0.8493 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.5389, allocations: 7.938 kB / 0.8493 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.5389, allocations: 0 / 0.8493 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.343e-05/0.539, allocations: 27.92 kB / 0.8494 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002323/0.5393, allocations: 157.7 kB / 0.8495 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.775e-05/0.5393, allocations: 34.62 kB / 0.8496 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.088e-05/0.5394, allocations: 16.98 kB / 0.8496 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001423/0.5395, allocations: 89.09 kB / 0.8497 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.5396, allocations: 34.56 kB / 0.8497 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 1.643e-06/0.5396, allocations: 0 / 0.8497 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5): time 0.0002219/0.5398, allocations: 73.56 kB / 0.8498 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.5398, allocations: 51.41 kB / 0.8498 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.06e-05/0.5399, allocations: 93.8 kB / 0.8499 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.54, allocations: 29.7 kB / 0.8499 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.006e-05/0.54, allocations: 84.12 kB / 0.85 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.54, allocations: 11.81 kB / 0.85 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.54, allocations: 4.125 kB / 0.85 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.5402, allocations: 314.8 kB / 0.8503 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.735e-05/0.5402, allocations: 11.98 kB / 0.8503 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.709e-05/0.5402, allocations: 4 kB / 0.8503 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.875e-05/0.5403, allocations: 24.86 kB / 0.8504 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.5403, allocations: 0 / 0.8504 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001054/0.5404, allocations: 65.91 kB / 0.8504 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.5404, allocations: 7.938 kB / 0.8504 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.5405, allocations: 4 kB / 0.8504 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.5405, allocations: 8 kB / 0.8504 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.826e-05/0.5406, allocations: 11.98 kB / 0.8505 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.5406, allocations: 4 kB / 0.8505 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.188e-05/0.5406, allocations: 0 / 0.8505 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.5406, allocations: 0 / 0.8505 GB, free: 12.3 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.402e-05/0.5407, allocations: 113.8 kB / 0.8506 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-06/0.5407, allocations: 0 / 0.8506 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.5409, allocations: 101.1 kB / 0.8507 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.541, allocations: 0 / 0.8507 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.541, allocations: 0 / 0.8507 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.541, allocations: 0 / 0.8507 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.5411, allocations: 165.6 kB / 0.8508 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5411, allocations: 0 / 0.8508 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.75e-05/0.5412, allocations: 8 kB / 0.8508 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5412, allocations: 0 / 0.8508 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.5412, allocations: 7.938 kB / 0.8508 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5412, allocations: 4 kB / 0.8508 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5412, allocations: 0 / 0.8508 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.5414, allocations: 89.06 kB / 0.8509 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.146e-05/0.5414, allocations: 81.09 kB / 0.851 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.5415, allocations: 3.938 kB / 0.851 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.074e-05/0.5415, allocations: 0 / 0.851 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/0.5415, allocations: 4 kB / 0.851 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.5415, allocations: 4 kB / 0.851 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.681e-05/0.5416, allocations: 83.28 kB / 0.8511 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5416, allocations: 0 / 0.8511 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003013/0.5419, allocations: 55.92 kB / 0.8511 GB, free: 11.5 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002997/0.5422, allocations: 163.1 kB / 0.8513 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001072/0.5423, allocations: 32.06 kB / 0.8513 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5423, allocations: 3.938 kB / 0.8513 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.993e-05/0.5424, allocations: 19.98 kB / 0.8514 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.5425, allocations: 9.234 kB / 0.8514 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003922/0.5429, allocations: 136.5 kB / 0.8515 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.5433, allocations: 0.6809 MB / 0.8522 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.605e-05/0.5433, allocations: 12 kB / 0.8522 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.5434, allocations: 11.44 kB / 0.8522 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of SimCode: time 3.01e-07/0.5434, allocations: 0 / 0.8522 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of Templates: time 0.003639/0.547, allocations: 1.096 MB / 0.8533 GB, free: 9.281 MB / 0.5261 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)