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.008599/0.008598, allocations: 100.7 kB / 15.73 MB, free: 6.027 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.002034/0.002034, allocations: 194.7 kB / 16.67 MB, free: 5.961 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8137/0.8137, allocations: 132.2 MB / 422.8 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002024, allocations: 63.89 kB / 0.5809 GB, free: 8.051 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4906/0.4926, allocations: 80.22 MB / 0.6592 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Bicubic): time 0.002354/0.495, allocations: 1.477 MB / 0.6606 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003103/0.4953, allocations: 120.3 kB / 0.6608 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.675e-05/0.4954, allocations: 0 / 0.6608 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.831e-05/0.4955, allocations: 6.672 kB / 0.6608 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.116e-05/0.4955, allocations: 10 kB / 0.6608 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.4958, allocations: 30.47 kB / 0.6608 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.442e-05/0.4959, allocations: 55.81 kB / 0.6609 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.496, allocations: 10.09 kB / 0.6609 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.053e-05/0.4961, allocations: 18.08 kB / 0.6609 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.884e-05/0.4961, allocations: 23.98 kB / 0.6609 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.4961, allocations: 2.75 kB / 0.6609 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.923e-05/0.4962, allocations: 37.28 kB / 0.6609 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.968e-05/0.4963, allocations: 11.22 kB / 0.661 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.483e-05/0.4963, allocations: 26.2 kB / 0.661 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.4965, allocations: 73 kB / 0.6611 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.4965, allocations: 4 kB / 0.6611 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.462e-06/0.4965, allocations: 0 / 0.6611 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.4965, allocations: 1.438 kB / 0.6611 GB, free: 8.578 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.000477/0.497, allocations: 387 kB / 0.6614 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.497, allocations: 9.562 kB / 0.6614 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.161e-05/0.4971, allocations: 38.42 kB / 0.6615 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.4971, allocations: 8.219 kB / 0.6615 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.865e-05/0.4972, allocations: 177.5 kB / 0.6616 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.4972, allocations: 5.656 kB / 0.6617 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.4972, allocations: 1.656 kB / 0.6617 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000289/0.4975, allocations: 118.1 kB / 0.6618 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.4976, allocations: 3.938 kB / 0.6618 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.4976, allocations: 1.906 kB / 0.6618 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.687e-05/0.4976, allocations: 9.219 kB / 0.6618 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003642/0.498, allocations: 132.6 kB / 0.6619 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.4984, allocations: 340.9 kB / 0.6622 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.4986, allocations: 51.64 kB / 0.6623 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.4987, allocations: 45.34 kB / 0.6623 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002825/0.499, allocations: 122.8 kB / 0.6624 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.4991, allocations: 36.22 kB / 0.6625 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.4991, allocations: 0 / 0.6625 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005704/0.4996, allocations: 136.5 kB / 0.6626 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/0.4997, allocations: 60.75 kB / 0.6627 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.4998, allocations: 153 kB / 0.6628 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.4998, allocations: 25.7 kB / 0.6628 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.4998, allocations: 117.8 kB / 0.6629 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.308e-05/0.4999, allocations: 11.98 kB / 0.663 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.4999, allocations: 32.22 kB / 0.663 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.425e-05/0.5, allocations: 315.4 kB / 0.6633 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.5001, allocations: 50.12 kB / 0.6633 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/0.5003, allocations: 117 kB / 0.6635 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003393/0.5007, allocations: 168.4 kB / 0.6636 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5007, allocations: 1.594 kB / 0.6636 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004303/0.5011, allocations: 180.7 kB / 0.6638 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.5012, allocations: 10.06 kB / 0.6638 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.5012, allocations: 2.625 kB / 0.6638 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.5012, allocations: 8.641 kB / 0.6638 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.5014, allocations: 40 kB / 0.6638 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.5014, allocations: 8.453 kB / 0.6639 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.5015, allocations: 22.91 kB / 0.6639 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.5015, allocations: 8.5 kB / 0.6639 GB, free: 6.277 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 6.818e-05/0.5016, allocations: 127.1 kB / 0.664 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/0.5016, allocations: 4.531 kB / 0.664 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003721/0.502, allocations: 125 kB / 0.6641 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.502, allocations: 3.938 kB / 0.6641 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.502, allocations: 1.062 kB / 0.6641 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.502, allocations: 0 / 0.6641 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.5022, allocations: 178.4 kB / 0.6643 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5022, allocations: 0 / 0.6643 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.449e-05/0.5023, allocations: 22.52 kB / 0.6643 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.5023, allocations: 0.8125 kB / 0.6643 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.5023, allocations: 5.047 kB / 0.6643 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.5023, allocations: 3.938 kB / 0.6643 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5023, allocations: 1.156 kB / 0.6643 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003255/0.5027, allocations: 202.5 kB / 0.6645 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.016e-05/0.5027, allocations: 79.42 kB / 0.6646 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.5027, allocations: 1 kB / 0.6646 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.5028, allocations: 25.81 kB / 0.6646 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.5029, allocations: 2.938 kB / 0.6646 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.5029, allocations: 2.562 kB / 0.6646 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.308e-05/0.5029, allocations: 110.2 kB / 0.6647 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5029, allocations: 4 kB / 0.6647 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002767/0.5032, allocations: 18.64 kB / 0.6648 GB, free: 5.453 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.0005358/0.5038, allocations: 0.7339 MB / 0.6655 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003734/0.5041, allocations: 99.33 kB / 0.6656 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5042, allocations: 0 / 0.6656 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.5043, allocations: 42.45 kB / 0.6656 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.5046, allocations: 19.27 kB / 0.6656 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004805/0.5051, allocations: 205.4 kB / 0.6658 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.5053, allocations: 0.6935 MB / 0.6665 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.973e-05/0.5053, allocations: 26.12 kB / 0.6665 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.437e-05/0.5054, allocations: 31.7 kB / 0.6666 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.5054, allocations: 0 / 0.6666 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01989/0.5253, allocations: 2.172 MB / 0.6687 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.48/8.006, allocations: 4.812 kB / 0.6687 GB, free: 2.594 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)