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.001358/0.001358, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001358/0.001358, allocations: 195.1 kB / 16.14 MB, free: 6.641 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.418/1.418, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002548/0.002548, allocations: 290.6 kB / 290.2 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.087/1.087, allocations: 178.6 MB / 0.5068 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002894/0.002894, allocations: 97.27 kB / 0.6057 GB, free: 25.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1584, allocations: 89.15 MB / 0.6928 GB, free: 4.852 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.002421/0.1609, allocations: 1.319 MB / 0.6941 GB, free: 3.531 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.1624, allocations: 0.8897 MB / 0.6949 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.422e-05/0.1624, allocations: 0 / 0.6949 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.883e-05/0.1624, allocations: 7.984 kB / 0.6949 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.567e-05/0.1625, allocations: 4 kB / 0.695 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/0.1628, allocations: 107.7 kB / 0.6951 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.856e-05/0.1629, allocations: 23.92 kB / 0.6951 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/0.163, allocations: 3.938 kB / 0.6951 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.126e-05/0.163, allocations: 12 kB / 0.6951 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.218e-05/0.1631, allocations: 19.91 kB / 0.6951 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.1631, allocations: 4 kB / 0.6951 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002795/0.1634, allocations: 159.8 kB / 0.6953 GB, free: 2.305 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.1634, allocations: 3.984 kB / 0.6953 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.912e-05/0.1635, allocations: 15.94 kB / 0.6953 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.1637, allocations: 124 kB / 0.6954 GB, free: 2.164 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.1637, allocations: 0 / 0.6954 GB, free: 2.164 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.5e-06/0.1637, allocations: 3.984 kB / 0.6954 GB, free: 2.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.1637, allocations: 0 / 0.6954 GB, free: 2.16 MB / 494.1 MB 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.000446/0.1642, allocations: 355.4 kB / 0.6957 GB, free: 1.766 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1642, allocations: 16.03 kB / 0.6958 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.799e-05/0.1643, allocations: 0.9375 kB / 0.6958 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.1644, allocations: 168.3 kB / 0.6959 GB, free: 1.547 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.615e-06/0.1644, allocations: 384 / 0.6959 GB, free: 1.547 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.1644, allocations: 8.312 kB / 0.6959 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.1646, allocations: 46 kB / 0.696 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.1646, allocations: 0 / 0.696 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1646, allocations: 4 kB / 0.696 GB, free: 1.484 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1646, allocations: 3.984 kB / 0.696 GB, free: 1.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.691e-05/0.1647, allocations: 23.97 kB / 0.696 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000187/0.1649, allocations: 165.7 kB / 0.6962 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.718e-05/0.165, allocations: 34.52 kB / 0.6962 GB, free: 1.203 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.542e-05/0.165, allocations: 20.97 kB / 0.6962 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001378/0.1651, allocations: 81.11 kB / 0.6963 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/0.1652, allocations: 38.5 kB / 0.6963 GB, free: 1.035 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.1652, allocations: 3.938 kB / 0.6963 GB, free: 1.031 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001827/0.1654, allocations: 69.67 kB / 0.6964 GB, free: 0.957 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.1654, allocations: 51.41 kB / 0.6965 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.502e-05/0.1655, allocations: 97.86 kB / 0.6965 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/0.1656, allocations: 25.7 kB / 0.6966 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.994e-05/0.1656, allocations: 84.08 kB / 0.6966 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.1656, allocations: 11.72 kB / 0.6967 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.1657, allocations: 29.7 kB / 0.6967 GB, free: 0.625 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1658, allocations: 319 kB / 0.697 GB, free: 312 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.437e-05/0.1659, allocations: 4 kB / 0.697 GB, free: 308 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.249e-05/0.1659, allocations: 7.984 kB / 0.697 GB, free: 300 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.858e-05/0.166, allocations: 33.23 kB / 0.697 GB, free: 264 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.166, allocations: 0 / 0.697 GB, free: 264 kB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.782e-05/0.1661, allocations: 53.69 kB / 0.6971 GB, free: 204 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1661, allocations: 11.94 kB / 0.6971 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.1661, allocations: 0 / 0.6971 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.1661, allocations: 0 / 0.6971 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.682e-05/0.1662, allocations: 11.94 kB / 0.6971 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1662, allocations: 4 kB / 0.6971 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.307e-05/0.1662, allocations: 3.938 kB / 0.6971 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.1663, allocations: 7.984 kB / 0.6971 GB, free: 164 kB / 494.1 MB 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 8.655e-05/0.1664, allocations: 109.8 kB / 0.6972 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.1664, allocations: 7.938 kB / 0.6972 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/0.1666, allocations: 81.14 kB / 0.6973 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1666, allocations: 0 / 0.6973 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.1666, allocations: 4 kB / 0.6973 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1666, allocations: 0 / 0.6973 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.1668, allocations: 157.7 kB / 0.6975 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1668, allocations: 7.938 kB / 0.6975 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.973e-05/0.1668, allocations: 11.98 kB / 0.6975 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1668, allocations: 3.938 kB / 0.6975 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.1668, allocations: 3.938 kB / 0.6975 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1669, allocations: 0 / 0.6975 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1669, allocations: 8 kB / 0.6975 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.167, allocations: 81.31 kB / 0.6976 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-05/0.1671, allocations: 92.95 kB / 0.6977 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.1671, allocations: 3.938 kB / 0.6977 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.307e-05/0.1671, allocations: 3.984 kB / 0.6977 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.061e-05/0.1671, allocations: 8 kB / 0.6977 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.912e-06/0.1671, allocations: 0 / 0.6977 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.835e-05/0.1672, allocations: 87.22 kB / 0.6978 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1672, allocations: 0 / 0.6978 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002463/0.1674, allocations: 43.92 kB / 0.6978 GB, free: 15.36 MB / 0.4981 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.0002604/0.1677, allocations: 155.1 kB / 0.698 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001058/0.1678, allocations: 27.98 kB / 0.698 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1678, allocations: 0 / 0.698 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.419e-05/0.1679, allocations: 23.92 kB / 0.698 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.168, allocations: 4 kB / 0.698 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002743/0.1683, allocations: 132.5 kB / 0.6981 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.1686, allocations: 0.6809 MB / 0.6988 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.733e-05/0.1687, allocations: 15.92 kB / 0.6988 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.196e-05/0.1687, allocations: 11.44 kB / 0.6988 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1687, allocations: 4 kB / 0.6988 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of Templates: time 0.003878/0.1726, allocations: 1.175 MB / 0.7 GB, free: 13.07 MB / 0.4981 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)