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.001366/0.001366, 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.001411/0.001411, allocations: 195.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.38/1.38, 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.00249/0.00249, allocations: 287 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 1.02/1.02, allocations: 178.6 MB / 0.5073 GB, free: 4.578 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002657/0.002657, allocations: 99.67 kB / 0.6065 GB, free: 24.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1559, allocations: 89.14 MB / 0.6936 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Bicubic): time 0.002819/0.1588, allocations: 1.492 MB / 0.6951 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000338/0.1591, allocations: 120.5 kB / 0.6952 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.344e-05/0.1592, allocations: 0 / 0.6952 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.783e-05/0.1592, allocations: 0.7812 kB / 0.6952 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.326e-05/0.1593, allocations: 13.59 kB / 0.6952 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.1595, allocations: 23.95 kB / 0.6952 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.796e-05/0.1596, allocations: 51.78 kB / 0.6953 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.202e-05/0.1597, allocations: 16.64 kB / 0.6953 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.413e-05/0.1597, allocations: 15.98 kB / 0.6953 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.128e-05/0.1598, allocations: 23.86 kB / 0.6953 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.1598, allocations: 4 kB / 0.6953 GB, free: 2.477 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.963e-05/0.1599, allocations: 39.95 kB / 0.6953 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.474e-05/0.1599, allocations: 12 kB / 0.6954 GB, free: 2.426 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.501e-05/0.16, allocations: 23.8 kB / 0.6954 GB, free: 2.402 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.1601, allocations: 76.05 kB / 0.6955 GB, free: 2.328 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1601, allocations: 0 / 0.6955 GB, free: 2.328 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1602, allocations: 0 / 0.6955 GB, free: 2.328 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.146e-06/0.1602, allocations: 0 / 0.6955 GB, free: 2.328 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.0005645/0.1607, allocations: 387.2 kB / 0.6958 GB, free: 1.898 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.1608, allocations: 8.031 kB / 0.6958 GB, free: 1.891 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.115e-05/0.1608, allocations: 34.75 kB / 0.6959 GB, free: 1.848 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.1609, allocations: 4.844 kB / 0.6959 GB, free: 1.844 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.161, allocations: 176.3 kB / 0.696 GB, free: 1.633 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.161, allocations: 384 / 0.696 GB, free: 1.633 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.161, allocations: 8.359 kB / 0.696 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.1613, allocations: 114.2 kB / 0.6962 GB, free: 1.508 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.1613, allocations: 3.938 kB / 0.6962 GB, free: 1.504 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1614, allocations: 4 kB / 0.6962 GB, free: 1.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.555e-05/0.1614, allocations: 11.94 kB / 0.6962 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003531/0.1617, allocations: 123.8 kB / 0.6963 GB, free: 1.367 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004637/0.1622, allocations: 348.5 kB / 0.6966 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.1624, allocations: 54.55 kB / 0.6967 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.1626, allocations: 40.84 kB / 0.6967 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002895/0.1629, allocations: 129.1 kB / 0.6968 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.1629, allocations: 42.5 kB / 0.6969 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1629, allocations: 0 / 0.6969 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005558/0.1635, allocations: 129.5 kB / 0.697 GB, free: 0.543 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.1636, allocations: 55.34 kB / 0.6971 GB, free: 488 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.1637, allocations: 145.8 kB / 0.6972 GB, free: 332 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.1637, allocations: 29.7 kB / 0.6972 GB, free: 296 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.599e-05/0.1638, allocations: 119.7 kB / 0.6973 GB, free: 172 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.1638, allocations: 15.83 kB / 0.6974 GB, free: 156 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.586e-05/0.1639, allocations: 33.61 kB / 0.6974 GB, free: 116 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.164, allocations: 314.8 kB / 0.6977 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.1642, allocations: 51.94 kB / 0.6977 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.1645, allocations: 115.2 kB / 0.6978 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003775/0.1648, allocations: 169.2 kB / 0.698 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.1649, allocations: 4 kB / 0.698 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004552/0.1653, allocations: 185.2 kB / 0.6982 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.1653, allocations: 9.719 kB / 0.6982 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1654, allocations: 0 / 0.6982 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.1654, allocations: 7.938 kB / 0.6982 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.1655, allocations: 31.97 kB / 0.6982 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1656, allocations: 7.938 kB / 0.6982 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.1657, allocations: 28.2 kB / 0.6983 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.1657, allocations: 8.234 kB / 0.6983 GB, free: 15.12 MB / 0.4981 GB 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 9.574e-05/0.1658, allocations: 122.4 kB / 0.6984 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.1658, allocations: 3.984 kB / 0.6984 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003995/0.1662, allocations: 129.8 kB / 0.6985 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1663, allocations: 3.938 kB / 0.6985 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.1663, allocations: 0 / 0.6985 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1663, allocations: 0 / 0.6985 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.1665, allocations: 177.5 kB / 0.6987 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1665, allocations: 0 / 0.6987 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.811e-05/0.1666, allocations: 15.98 kB / 0.6987 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1666, allocations: 7.938 kB / 0.6987 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.1666, allocations: 0 / 0.6987 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.1666, allocations: 7.922 kB / 0.6987 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1666, allocations: 0 / 0.6987 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003673/0.167, allocations: 195.4 kB / 0.6989 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.347e-05/0.1671, allocations: 92.95 kB / 0.699 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.1671, allocations: 0 / 0.699 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.1672, allocations: 19.91 kB / 0.699 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.1672, allocations: 4 kB / 0.699 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.383e-06/0.1672, allocations: 4 kB / 0.699 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.206e-05/0.1673, allocations: 107.2 kB / 0.6991 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.1673, allocations: 0 / 0.6991 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002595/0.1676, allocations: 20 kB / 0.6991 GB, free: 14.12 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 (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.0007191/0.1683, allocations: 0.7357 MB / 0.6999 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004042/0.1687, allocations: 107.8 kB / 0.7 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1687, allocations: 0 / 0.7 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.1689, allocations: 35.91 kB / 0.7 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.1692, allocations: 18.11 kB / 0.7 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005255/0.1697, allocations: 199.6 kB / 0.7002 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.17, allocations: 0.6931 MB / 0.7009 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.904e-05/0.1701, allocations: 28.41 kB / 0.7009 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.432e-05/0.1702, allocations: 23.42 kB / 0.7009 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1702, allocations: 0 / 0.7009 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.1944, allocations: 2.171 MB / 0.7031 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.403/7.598, allocations: 4.453 kB / 0.7031 GB, free: 10.1 MB / 0.4981 GB (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)