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.006154/0.006154, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001458/0.001458, allocations: 201.7 kB / 16.68 MB, free: 5.969 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002373/0.002373, allocations: 290.6 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9853/0.9853, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002665/0.002665, allocations: 103.8 kB / 0.6809 GB, free: 16 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1612, allocations: 86.97 MB / 0.7659 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.002138/0.1634, allocations: 1.258 MB / 0.7671 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.1645, allocations: 0.6939 MB / 0.7678 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.466e-05/0.1645, allocations: 3.938 kB / 0.7678 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.1645, allocations: 3.938 kB / 0.7678 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.055e-05/0.1646, allocations: 3.984 kB / 0.7678 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000365/0.1649, allocations: 127.7 kB / 0.7679 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.444e-05/0.165, allocations: 27.86 kB / 0.7679 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.443e-05/0.1651, allocations: 0 / 0.7679 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.253e-05/0.1651, allocations: 15.92 kB / 0.768 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.851e-05/0.1652, allocations: 11.98 kB / 0.768 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.1652, allocations: 4 kB / 0.768 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002873/0.1655, allocations: 159.8 kB / 0.7681 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.655e-05/0.1655, allocations: 4 kB / 0.7681 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.06e-05/0.1656, allocations: 15.92 kB / 0.7681 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.1658, allocations: 103.9 kB / 0.7682 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1658, allocations: 0 / 0.7682 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1658, allocations: 0 / 0.7682 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.1658, allocations: 0 / 0.7682 GB, free: 6.523 MB / 0.5606 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.0003969/0.1662, allocations: 351.3 kB / 0.7686 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.1662, allocations: 8.031 kB / 0.7686 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.232e-05/0.1663, allocations: 38.67 kB / 0.7686 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.403e-05/0.1663, allocations: 4.938 kB / 0.7686 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.1664, allocations: 164.4 kB / 0.7688 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.241e-06/0.1664, allocations: 384 / 0.7688 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.1665, allocations: 4.375 kB / 0.7688 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.669e-05/0.1666, allocations: 41.81 kB / 0.7688 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1666, allocations: 7.938 kB / 0.7688 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.1666, allocations: 0 / 0.7688 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1666, allocations: 0 / 0.7688 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.257e-05/0.1667, allocations: 27.95 kB / 0.7689 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.1669, allocations: 169.6 kB / 0.769 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.938e-05/0.1669, allocations: 42.56 kB / 0.7691 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.664e-05/0.167, allocations: 8.984 kB / 0.7691 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003549/0.1673, allocations: 190.2 kB / 0.7692 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.1674, allocations: 34.5 kB / 0.7693 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.143e-06/0.1674, allocations: 4 kB / 0.7693 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0001698/0.1675, allocations: 65.58 kB / 0.7693 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.1676, allocations: 55.41 kB / 0.7694 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.039e-05/0.1677, allocations: 101.8 kB / 0.7695 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.1677, allocations: 25.7 kB / 0.7695 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.317e-05/0.1677, allocations: 80.14 kB / 0.7696 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.1678, allocations: 15.91 kB / 0.7696 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.1678, allocations: 17.7 kB / 0.7696 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1679, allocations: 318.8 kB / 0.7699 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.349e-05/0.168, allocations: 12.12 kB / 0.7699 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.92e-05/0.168, allocations: 11.98 kB / 0.77 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.243e-05/0.168, allocations: 21.23 kB / 0.77 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.168, allocations: 0 / 0.77 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.771e-05/0.1682, allocations: 69.56 kB / 0.77 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.1682, allocations: 4 kB / 0.77 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1682, allocations: 0 / 0.77 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1682, allocations: 0 / 0.77 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.094e-05/0.1683, allocations: 8 kB / 0.7701 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.1683, allocations: 0 / 0.7701 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.956e-05/0.1683, allocations: 7.953 kB / 0.7701 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.1683, allocations: 4 kB / 0.7701 GB, free: 4.379 MB / 0.5606 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.172e-05/0.1684, allocations: 114.5 kB / 0.7702 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.1684, allocations: 7.938 kB / 0.7702 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001681/0.1686, allocations: 81.11 kB / 0.7703 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1686, allocations: 0 / 0.7703 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1686, allocations: 0 / 0.7703 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1686, allocations: 4 kB / 0.7703 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.1687, allocations: 161.6 kB / 0.7704 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1688, allocations: 0 / 0.7704 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.466e-05/0.1688, allocations: 15.94 kB / 0.7704 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.1688, allocations: 7.922 kB / 0.7704 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.1688, allocations: 0 / 0.7704 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1688, allocations: 0 / 0.7704 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1688, allocations: 0 / 0.7704 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.169, allocations: 93.02 kB / 0.7705 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.485e-05/0.169, allocations: 85.05 kB / 0.7706 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.169, allocations: 0 / 0.7706 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.867e-05/0.169, allocations: 4 kB / 0.7706 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.1691, allocations: 4.172 kB / 0.7706 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.1691, allocations: 12 kB / 0.7706 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.661e-05/0.1691, allocations: 75.28 kB / 0.7707 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1691, allocations: 0 / 0.7707 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002184/0.1694, allocations: 27.94 kB / 0.7707 GB, free: 3.602 MB / 0.5606 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.0005286/0.1699, allocations: 0.6728 MB / 0.7714 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001039/0.17, allocations: 24 kB / 0.7714 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.17, allocations: 0 / 0.7714 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.097e-05/0.17, allocations: 19.98 kB / 0.7714 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001221/0.1702, allocations: 0 / 0.7714 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.1705, allocations: 176 kB / 0.7716 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.1708, allocations: 0.6807 MB / 0.7723 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.158e-05/0.1709, allocations: 7.938 kB / 0.7723 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.1709, allocations: 15.44 kB / 0.7723 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.1709, allocations: 3.938 kB / 0.7723 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2908/0.4617, allocations: 2.244 MB / 0.7745 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.259/7.72, allocations: 4.438 kB / 0.7745 GB, free: 14.59 MB / 0.5606 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)