Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.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.Utilities.Math.Examples.Bicubic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Bicubic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic",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.00112/0.00112, 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.001202/0.001202, allocations: 192.5 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00203/0.00203, allocations: 283 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9646/0.9646, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 100.8 kB / 0.5953 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1645, allocations: 86.98 MB / 0.6803 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Bicubic): time 0.002473/0.167, allocations: 1.49 MB / 0.6817 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003132/0.1674, allocations: 110.2 kB / 0.6818 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.338e-05/0.1674, allocations: 0 / 0.6818 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.558e-05/0.1675, allocations: 3.984 kB / 0.6818 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.653e-05/0.1675, allocations: 16.61 kB / 0.6819 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002398/0.1678, allocations: 23.97 kB / 0.6819 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.296e-05/0.1679, allocations: 52.44 kB / 0.6819 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.168, allocations: 10.75 kB / 0.6819 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.232e-05/0.1681, allocations: 15.98 kB / 0.682 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.564e-05/0.1681, allocations: 27.84 kB / 0.682 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.1682, allocations: 4 kB / 0.682 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.693e-05/0.1683, allocations: 35.97 kB / 0.682 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.585e-05/0.1683, allocations: 18.03 kB / 0.682 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.1684, allocations: 23.81 kB / 0.6821 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.1685, allocations: 71.72 kB / 0.6821 GB, free: 14.67 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1685, allocations: 0 / 0.6821 GB, free: 14.67 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1685, allocations: 0 / 0.6821 GB, free: 14.67 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.1685, allocations: 0.625 kB / 0.6821 GB, free: 14.67 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005885/0.1691, allocations: 382.9 kB / 0.6825 GB, free: 14.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.1692, allocations: 8.031 kB / 0.6825 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.275e-05/0.1692, allocations: 42.73 kB / 0.6825 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.1693, allocations: 9.719 kB / 0.6826 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.1694, allocations: 176.2 kB / 0.6827 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.1694, allocations: 1.094 kB / 0.6827 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.1694, allocations: 384 / 0.6827 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.1697, allocations: 111.5 kB / 0.6828 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.1698, allocations: 4.688 kB / 0.6828 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.1698, allocations: 0 / 0.6828 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.124e-05/0.1698, allocations: 12.61 kB / 0.6828 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003463/0.1702, allocations: 127.8 kB / 0.683 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004738/0.1706, allocations: 344.5 kB / 0.6833 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.1709, allocations: 62.48 kB / 0.6834 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.171, allocations: 44.84 kB / 0.6834 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002884/0.1713, allocations: 125 kB / 0.6835 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.1714, allocations: 38.5 kB / 0.6836 GB, free: 13.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.1714, allocations: 0 / 0.6836 GB, free: 13.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005208/0.1719, allocations: 137.5 kB / 0.6837 GB, free: 12.88 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.1719, allocations: 59.34 kB / 0.6837 GB, free: 12.81 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.172, allocations: 139.9 kB / 0.6839 GB, free: 12.67 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.1721, allocations: 25.7 kB / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.973e-05/0.1721, allocations: 123.7 kB / 0.684 GB, free: 12.51 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.1721, allocations: 15.83 kB / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.1722, allocations: 25.72 kB / 0.6841 GB, free: 12.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.943e-05/0.1723, allocations: 326.8 kB / 0.6844 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.1724, allocations: 39.95 kB / 0.6844 GB, free: 12.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/0.1726, allocations: 117.3 kB / 0.6845 GB, free: 11.95 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003352/0.173, allocations: 169.2 kB / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.173, allocations: 0 / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004065/0.1734, allocations: 185.2 kB / 0.6849 GB, free: 11.56 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.1734, allocations: 8 kB / 0.6849 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1734, allocations: 4 kB / 0.6849 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.1735, allocations: 8.25 kB / 0.6849 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.1736, allocations: 35.97 kB / 0.6849 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.1736, allocations: 7.938 kB / 0.6849 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.1738, allocations: 19.89 kB / 0.6849 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.1738, allocations: 4 kB / 0.6849 GB, free: 11.48 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (13): * Single equations (assignments): 13 * 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.947e-05/0.1739, allocations: 130.4 kB / 0.6851 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.1739, allocations: 7.906 kB / 0.6851 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00038/0.1743, allocations: 117.8 kB / 0.6852 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.1743, allocations: 3.938 kB / 0.6852 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1743, allocations: 0 / 0.6852 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1743, allocations: 4 kB / 0.6852 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.1745, allocations: 177.6 kB / 0.6854 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1745, allocations: 4 kB / 0.6854 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.24e-05/0.1746, allocations: 19.97 kB / 0.6854 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1746, allocations: 3.938 kB / 0.6854 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.1746, allocations: 4 kB / 0.6854 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.1746, allocations: 3.938 kB / 0.6854 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1746, allocations: 0 / 0.6854 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.175, allocations: 199.3 kB / 0.6856 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.175, allocations: 89 kB / 0.6857 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.175, allocations: 4 kB / 0.6857 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.1752, allocations: 11.92 kB / 0.6857 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.1752, allocations: 7.938 kB / 0.6857 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.1752, allocations: 336 / 0.6857 GB, free: 10.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.184e-05/0.1753, allocations: 117.6 kB / 0.6858 GB, free: 10.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1753, allocations: 0 / 0.6858 GB, free: 10.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.1755, allocations: 20 kB / 0.6858 GB, free: 10.46 MB / 494.1 MB 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 (3): * Single equations (assignments): 3 * 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.0005924/0.1761, allocations: 0.7396 MB / 0.6866 GB, free: 9.699 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000362/0.1765, allocations: 99.84 kB / 0.6866 GB, free: 9.602 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1765, allocations: 0.625 kB / 0.6866 GB, free: 9.602 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.1767, allocations: 47.89 kB / 0.6867 GB, free: 9.555 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.177, allocations: 11.94 kB / 0.6867 GB, free: 9.543 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004783/0.1775, allocations: 199.7 kB / 0.6869 GB, free: 9.309 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/0.1777, allocations: 0.6963 MB / 0.6876 GB, free: 8.586 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.549e-05/0.1778, allocations: 20.42 kB / 0.6876 GB, free: 8.566 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.52e-05/0.1778, allocations: 27.42 kB / 0.6876 GB, free: 8.539 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1778, allocations: 0 / 0.6876 GB, free: 8.539 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01626/0.1941, allocations: 2.167 MB / 0.6897 GB, free: 6.445 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.852/7.046, allocations: 12.16 kB / 0.6897 GB, free: 6.438 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe 2>&1)