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: "" <> buildModelFMU(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaGap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaGap",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001246, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002385/0.002385, allocations: 286.5 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.044/1.044, allocations: 178.6 MB / 0.5073 GB, free: 4.59 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002672/0.002672, allocations: 93.55 kB / 0.6065 GB, free: 24.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1606, allocations: 89.14 MB / 0.6936 GB, free: 4.246 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.002817/0.1634, allocations: 1.256 MB / 0.6948 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.165, allocations: 0.8719 MB / 0.6957 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.287e-05/0.165, allocations: 0 / 0.6957 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.507e-05/0.1651, allocations: 1.938 kB / 0.6957 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.023e-05/0.1651, allocations: 3.938 kB / 0.6957 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004425/0.1656, allocations: 143.5 kB / 0.6958 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.654e-05/0.1656, allocations: 23.92 kB / 0.6958 GB, free: 1.949 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.175e-05/0.1657, allocations: 0 / 0.6958 GB, free: 1.949 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.899e-05/0.1657, allocations: 11.98 kB / 0.6958 GB, free: 1.938 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.458e-05/0.1658, allocations: 19.92 kB / 0.6959 GB, free: 1.918 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.1658, allocations: 0 / 0.6959 GB, free: 1.918 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002899/0.1661, allocations: 164.4 kB / 0.696 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.58e-05/0.1661, allocations: 11.98 kB / 0.696 GB, free: 1.746 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.685e-05/0.1662, allocations: 11.94 kB / 0.696 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.1664, allocations: 124 kB / 0.6962 GB, free: 1.613 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1664, allocations: 0 / 0.6962 GB, free: 1.613 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1664, allocations: 0 / 0.6962 GB, free: 1.613 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.1664, allocations: 0 / 0.6962 GB, free: 1.613 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.0004568/0.1669, allocations: 355.4 kB / 0.6965 GB, free: 1.219 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.1669, allocations: 12.03 kB / 0.6965 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.818e-05/0.167, allocations: 38.73 kB / 0.6965 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.294e-05/0.167, allocations: 0.9375 kB / 0.6965 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.1672, allocations: 168.4 kB / 0.6967 GB, free: 0.957 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.1672, allocations: 384 / 0.6967 GB, free: 0.957 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.1672, allocations: 384 / 0.6967 GB, free: 0.957 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.1673, allocations: 49.75 kB / 0.6968 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1673, allocations: 3.984 kB / 0.6968 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.1673, allocations: 3.938 kB / 0.6968 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.1674, allocations: 4 kB / 0.6968 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.463e-05/0.1674, allocations: 27.91 kB / 0.6968 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001879/0.1676, allocations: 157.7 kB / 0.6969 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.51e-05/0.1677, allocations: 46.62 kB / 0.697 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.676e-05/0.1678, allocations: 8.859 kB / 0.697 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001484/0.1679, allocations: 93.22 kB / 0.6971 GB, free: 496 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.168, allocations: 38.44 kB / 0.6971 GB, free: 448 kB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.168, allocations: 0 / 0.6971 GB, free: 448 kB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001858/0.1682, allocations: 65.59 kB / 0.6972 GB, free: 376 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.1682, allocations: 55.41 kB / 0.6972 GB, free: 308 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.347e-05/0.1683, allocations: 93.86 kB / 0.6973 GB, free: 204 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.1683, allocations: 29.7 kB / 0.6974 GB, free: 168 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.839e-05/0.1684, allocations: 80.14 kB / 0.6974 GB, free: 84 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.1684, allocations: 19.73 kB / 0.6974 GB, free: 64 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.1684, allocations: 17.72 kB / 0.6975 GB, free: 40 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.1686, allocations: 314.8 kB / 0.6978 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.814e-05/0.1686, allocations: 15.98 kB / 0.6978 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.958e-05/0.1687, allocations: 12.31 kB / 0.6978 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.647e-05/0.1687, allocations: 28.98 kB / 0.6978 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1687, allocations: 0 / 0.6978 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.84e-05/0.1688, allocations: 57.62 kB / 0.6979 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.1689, allocations: 4 kB / 0.6979 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1689, allocations: 0 / 0.6979 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1689, allocations: 0 / 0.6979 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.581e-05/0.169, allocations: 15.98 kB / 0.6979 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.169, allocations: 0 / 0.6979 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.463e-05/0.169, allocations: 4 kB / 0.6979 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.169, allocations: 7.938 kB / 0.6979 GB, free: 15.57 MB / 0.4981 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 8.041e-05/0.1691, allocations: 109.8 kB / 0.698 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.301e-05/0.1691, allocations: 7.844 kB / 0.698 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001878/0.1693, allocations: 81.23 kB / 0.6981 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1693, allocations: 0 / 0.6981 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1693, allocations: 4 kB / 0.6981 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1694, allocations: 3.984 kB / 0.6981 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.1695, allocations: 161.7 kB / 0.6983 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1695, allocations: 0 / 0.6983 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.235e-05/0.1696, allocations: 15.88 kB / 0.6983 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1696, allocations: 3.938 kB / 0.6983 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.1696, allocations: 4 kB / 0.6983 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1696, allocations: 0 / 0.6983 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1696, allocations: 0 / 0.6983 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.1697, allocations: 101.2 kB / 0.6984 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.1698, allocations: 84.95 kB / 0.6985 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.1698, allocations: 0 / 0.6985 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.153e-05/0.1698, allocations: 0 / 0.6985 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.1699, allocations: 4 kB / 0.6985 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-06/0.1699, allocations: 4 kB / 0.6985 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.178e-05/0.1699, allocations: 83.27 kB / 0.6985 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1699, allocations: 0 / 0.6985 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002567/0.1702, allocations: 48.03 kB / 0.6986 GB, free: 14.77 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.0005693/0.1708, allocations: 0.6826 MB / 0.6993 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001089/0.1709, allocations: 31.92 kB / 0.6993 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1709, allocations: 0 / 0.6993 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.911e-05/0.1709, allocations: 16 kB / 0.6993 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.1711, allocations: 8 kB / 0.6993 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004064/0.1715, allocations: 164.3 kB / 0.6995 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.1718, allocations: 0.6807 MB / 0.7001 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.963e-05/0.1719, allocations: 20.22 kB / 0.7001 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.408e-05/0.1719, allocations: 19.38 kB / 0.7002 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of SimCode: time 2.023e-06/0.1719, allocations: 0 / 0.7002 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02245/0.1944, allocations: 2.112 MB / 0.7022 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.37/7.564, allocations: 8.812 kB / 0.7022 GB, free: 11.03 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaGap.fmu > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe 2>&1)