Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Examples.Bicubic,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Bicubic,fileNamePrefix="IDEAS_IDEAS_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.005682/0.005682, allocations: 101 kB / 15.73 MB, free: 6.059 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.001283/0.001283, allocations: 194.3 kB / 16.67 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.838/0.838, allocations: 132.2 MB / 422.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 63.75 kB / 0.5809 GB, free: 24.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1677, allocations: 80.2 MB / 0.6592 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Bicubic): time 0.002786/0.1706, allocations: 1.485 MB / 0.6606 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003801/0.1709, allocations: 120.5 kB / 0.6608 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.997e-05/0.171, allocations: 0 / 0.6608 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.739e-05/0.1711, allocations: 3.938 kB / 0.6608 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.825e-05/0.1711, allocations: 15.86 kB / 0.6608 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.1714, allocations: 27.97 kB / 0.6608 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.1715, allocations: 43.84 kB / 0.6608 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1717, allocations: 19.92 kB / 0.6609 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.395e-05/0.1717, allocations: 15.98 kB / 0.6609 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.97e-05/0.1718, allocations: 23.84 kB / 0.6609 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.1718, allocations: 4 kB / 0.6609 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.1719, allocations: 35.97 kB / 0.6609 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.243e-05/0.172, allocations: 11.98 kB / 0.661 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.895e-05/0.172, allocations: 23.81 kB / 0.661 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.1722, allocations: 71.98 kB / 0.661 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1722, allocations: 4 kB / 0.6611 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1722, allocations: 0 / 0.6611 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.1722, allocations: 4 kB / 0.6611 GB, free: 8.828 MB / 0.4981 GB 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.0006076/0.1728, allocations: 383.1 kB / 0.6614 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.1729, allocations: 11.97 kB / 0.6614 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.629e-05/0.1729, allocations: 38.75 kB / 0.6615 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.1729, allocations: 8.891 kB / 0.6615 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.1731, allocations: 176.2 kB / 0.6616 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.1731, allocations: 4.375 kB / 0.6616 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.1731, allocations: 8.312 kB / 0.6617 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.1734, allocations: 110.2 kB / 0.6618 GB, free: 8 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1735, allocations: 3.938 kB / 0.6618 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1735, allocations: 3.984 kB / 0.6618 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.001e-05/0.1735, allocations: 15.98 kB / 0.6618 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003615/0.1739, allocations: 119.8 kB / 0.6619 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000473/0.1744, allocations: 344.7 kB / 0.6622 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.1746, allocations: 58.53 kB / 0.6623 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.1748, allocations: 36.92 kB / 0.6623 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002928/0.1751, allocations: 129 kB / 0.6624 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.1751, allocations: 38.5 kB / 0.6625 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.133e-06/0.1751, allocations: 4 kB / 0.6625 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005691/0.1757, allocations: 133.5 kB / 0.6626 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.1757, allocations: 59.34 kB / 0.6627 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.1759, allocations: 147.2 kB / 0.6628 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.1759, allocations: 25.7 kB / 0.6628 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.118e-05/0.176, allocations: 120 kB / 0.6629 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.176, allocations: 11.88 kB / 0.663 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/0.1761, allocations: 33.67 kB / 0.663 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1762, allocations: 322.8 kB / 0.6633 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.1764, allocations: 43.95 kB / 0.6633 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.1766, allocations: 117.3 kB / 0.6635 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004036/0.1771, allocations: 165.2 kB / 0.6636 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1771, allocations: 0 / 0.6636 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004547/0.1775, allocations: 185.3 kB / 0.6638 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1775, allocations: 8 kB / 0.6638 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1776, allocations: 0 / 0.6638 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1776, allocations: 7.938 kB / 0.6638 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.1777, allocations: 35.97 kB / 0.6638 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.1778, allocations: 7.938 kB / 0.6638 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.1779, allocations: 20.25 kB / 0.6639 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.1779, allocations: 12 kB / 0.6639 GB, free: 5.621 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 0.0001057/0.178, allocations: 130.6 kB / 0.664 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.178, allocations: 4 kB / 0.664 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004052/0.1785, allocations: 125.8 kB / 0.6641 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.1785, allocations: 3.938 kB / 0.6641 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1785, allocations: 0 / 0.6641 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1785, allocations: 3.938 kB / 0.6641 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.1787, allocations: 181.6 kB / 0.6643 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1787, allocations: 0 / 0.6643 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.666e-05/0.1788, allocations: 19.97 kB / 0.6643 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1788, allocations: 4 kB / 0.6643 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.1788, allocations: 4 kB / 0.6643 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1788, allocations: 3.938 kB / 0.6643 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1788, allocations: 0 / 0.6643 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003953/0.1792, allocations: 199.4 kB / 0.6645 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/0.1793, allocations: 85.09 kB / 0.6646 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.1793, allocations: 0 / 0.6646 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.1794, allocations: 15.92 kB / 0.6646 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.1795, allocations: 4 kB / 0.6646 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.1795, allocations: 336 / 0.6646 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.929e-05/0.1796, allocations: 109.4 kB / 0.6647 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1796, allocations: 4 kB / 0.6647 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002585/0.1798, allocations: 19.95 kB / 0.6647 GB, free: 4.617 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.0007513/0.1806, allocations: 0.7397 MB / 0.6655 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004016/0.181, allocations: 103.8 kB / 0.6656 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.181, allocations: 0 / 0.6656 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.1812, allocations: 43.89 kB / 0.6656 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.1815, allocations: 12.52 kB / 0.6656 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005063/0.182, allocations: 203.4 kB / 0.6658 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.1823, allocations: 0.6967 MB / 0.6665 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.754e-05/0.1824, allocations: 20.42 kB / 0.6665 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.54e-05/0.1825, allocations: 23.42 kB / 0.6665 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1825, allocations: 4 kB / 0.6665 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02158/0.2041, allocations: 2.178 MB / 0.6687 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.777/7.981, allocations: 13.09 kB / 0.6687 GB, free: 0.5742 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Bicubic.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Bicubic.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Bicubic.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Utilities_Math_Examples_Bicubic.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Bicubic.pipe 2>&1)