Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.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.AlphaPlateFree,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaPlateFree",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaPlateFree",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.001259/0.001259, allocations: 108 kB / 15.6 MB, free: 132 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.001276/0.001276, allocations: 192.2 kB / 16.53 MB, free: 6.391 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002367/0.002367, allocations: 282.7 kB / 290.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.046/1.046, allocations: 178.6 MB / 0.5073 GB, free: 4.543 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002723/0.002723, allocations: 100.3 kB / 0.6065 GB, free: 24.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.161, allocations: 89.14 MB / 0.6936 GB, free: 4.199 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.002752/0.1638, allocations: 1.251 MB / 0.6948 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.165, allocations: 0.7097 MB / 0.6955 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.662e-05/0.1651, allocations: 0 / 0.6955 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.04e-05/0.1651, allocations: 7.984 kB / 0.6955 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.634e-05/0.1652, allocations: 3.938 kB / 0.6955 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000386/0.1656, allocations: 123.7 kB / 0.6956 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.108e-05/0.1656, allocations: 19.94 kB / 0.6956 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.396e-05/0.1657, allocations: 4.484 kB / 0.6957 GB, free: 2.082 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.11e-05/0.1658, allocations: 16.42 kB / 0.6957 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.121e-05/0.1658, allocations: 12.48 kB / 0.6957 GB, free: 2.055 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.1658, allocations: 4.562 kB / 0.6957 GB, free: 2.051 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002931/0.1661, allocations: 161.2 kB / 0.6958 GB, free: 1.895 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.275e-05/0.1662, allocations: 3.938 kB / 0.6958 GB, free: 1.891 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.224e-05/0.1662, allocations: 8 kB / 0.6959 GB, free: 1.883 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.1664, allocations: 112.7 kB / 0.696 GB, free: 1.773 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1664, allocations: 0 / 0.696 GB, free: 1.773 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1664, allocations: 1.594 kB / 0.696 GB, free: 1.773 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1664, allocations: 0 / 0.696 GB, free: 1.773 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.0004149/0.1668, allocations: 343.5 kB / 0.6963 GB, free: 1.391 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.1669, allocations: 12.66 kB / 0.6963 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.456e-05/0.1669, allocations: 30.75 kB / 0.6963 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.588e-05/0.167, allocations: 1.531 kB / 0.6963 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.1671, allocations: 178.9 kB / 0.6965 GB, free: 1.129 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.1671, allocations: 384 / 0.6965 GB, free: 1.129 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.1671, allocations: 384 / 0.6965 GB, free: 1.129 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.1673, allocations: 61.67 kB / 0.6966 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1673, allocations: 0 / 0.6966 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.1673, allocations: 4 kB / 0.6966 GB, free: 1.059 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1673, allocations: 4 kB / 0.6966 GB, free: 1.055 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.786e-05/0.1674, allocations: 17.58 kB / 0.6966 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001833/0.1676, allocations: 161.7 kB / 0.6967 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.801e-05/0.1676, allocations: 38.56 kB / 0.6968 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.985e-05/0.1677, allocations: 16.98 kB / 0.6968 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003772/0.1681, allocations: 186.2 kB / 0.697 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.1681, allocations: 38.44 kB / 0.697 GB, free: 0.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1681, allocations: 0 / 0.697 GB, free: 0.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001729/0.1683, allocations: 65.59 kB / 0.6971 GB, free: 440 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.1683, allocations: 51.41 kB / 0.6971 GB, free: 376 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.847e-05/0.1684, allocations: 101.9 kB / 0.6972 GB, free: 264 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.1684, allocations: 25.7 kB / 0.6972 GB, free: 232 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.835e-05/0.1685, allocations: 80.14 kB / 0.6973 GB, free: 148 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.1685, allocations: 19.8 kB / 0.6973 GB, free: 128 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.1685, allocations: 13.72 kB / 0.6973 GB, free: 108 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1687, allocations: 314.8 kB / 0.6976 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.28e-05/0.1687, allocations: 7.984 kB / 0.6977 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.312e-05/0.1687, allocations: 20.06 kB / 0.6977 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.701e-05/0.1688, allocations: 20.86 kB / 0.6977 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1688, allocations: 0 / 0.6977 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.7e-05/0.1689, allocations: 57.62 kB / 0.6978 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.1689, allocations: 8 kB / 0.6978 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1689, allocations: 0 / 0.6978 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.169, allocations: 0 / 0.6978 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.681e-05/0.169, allocations: 11.98 kB / 0.6978 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.169, allocations: 448 / 0.6978 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.91e-05/0.1691, allocations: 3.938 kB / 0.6978 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.1691, allocations: 8 kB / 0.6978 GB, free: 15.64 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 7.356e-05/0.1692, allocations: 113.8 kB / 0.6979 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.1692, allocations: 7.844 kB / 0.6979 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/0.1693, allocations: 89.11 kB / 0.698 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1694, allocations: 0 / 0.698 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1694, allocations: 0 / 0.698 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1694, allocations: 0 / 0.698 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.1695, allocations: 165.7 kB / 0.6981 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1695, allocations: 0 / 0.6981 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.82e-05/0.1696, allocations: 11.94 kB / 0.6982 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1696, allocations: 0 / 0.6982 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.1696, allocations: 7.938 kB / 0.6982 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1696, allocations: 0 / 0.6982 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1696, allocations: 0 / 0.6982 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.1697, allocations: 85.12 kB / 0.6982 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.433e-05/0.1698, allocations: 92.94 kB / 0.6983 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.1698, allocations: 3.984 kB / 0.6983 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.649e-05/0.1698, allocations: 0 / 0.6983 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.323e-05/0.1698, allocations: 8 kB / 0.6983 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.1698, allocations: 0 / 0.6983 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.691e-05/0.1699, allocations: 79.28 kB / 0.6984 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1699, allocations: 0 / 0.6984 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002282/0.1701, allocations: 35.92 kB / 0.6984 GB, free: 14.86 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.0005143/0.1706, allocations: 0.6593 MB / 0.6991 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.979e-05/0.1707, allocations: 27.98 kB / 0.6991 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.1708, allocations: 3.938 kB / 0.6991 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.943e-05/0.1708, allocations: 16.31 kB / 0.6991 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.1709, allocations: 0.75 kB / 0.6991 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000384/0.1713, allocations: 168.4 kB / 0.6993 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.1716, allocations: 0.6768 MB / 0.7 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.515e-05/0.1717, allocations: 8.188 kB / 0.7 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.245e-05/0.1717, allocations: 20.8 kB / 0.7 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of SimCode: time 1.983e-06/0.1717, allocations: 0 / 0.7 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02232/0.194, allocations: 2.22 MB / 0.7022 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.394/7.588, allocations: 15.7 kB / 0.7022 GB, free: 11.07 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree_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_AlphaPlateFree.fmu > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe 2>&1)