Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Utilities.Math.Examples.Bicubic,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Bicubic,fileNamePrefix="IDEAS_dev_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.00882/0.008821, allocations: 100.8 kB / 15.73 MB, free: 6.043 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.002083/0.002083, allocations: 202.2 kB / 16.68 MB, free: 5.965 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.519/1.519, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.017/1.017, allocations: 135.6 MB / 426.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0023/0.0023, allocations: 67.89 kB / 0.5858 GB, free: 3.238 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3842, allocations: 81.02 MB / 0.6649 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Bicubic): time 0.002157/0.3864, allocations: 1.476 MB / 0.6663 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002848/0.3867, allocations: 122.2 kB / 0.6664 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.986e-05/0.3867, allocations: 1.5 kB / 0.6664 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.136e-05/0.3868, allocations: 3.938 kB / 0.6664 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.386e-05/0.3869, allocations: 5.438 kB / 0.6664 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.3871, allocations: 39.61 kB / 0.6665 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.898e-05/0.3871, allocations: 45.89 kB / 0.6665 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.184e-05/0.3872, allocations: 16.69 kB / 0.6665 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.183e-05/0.3873, allocations: 18.27 kB / 0.6666 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.19e-05/0.3873, allocations: 20.89 kB / 0.6666 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.3874, allocations: 4.031 kB / 0.6666 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.742e-05/0.3874, allocations: 39 kB / 0.6666 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.28e-05/0.3875, allocations: 13.05 kB / 0.6666 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.831e-05/0.3875, allocations: 27.39 kB / 0.6667 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.3876, allocations: 69.73 kB / 0.6667 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.3877, allocations: 4 kB / 0.6667 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3877, allocations: 0 / 0.6667 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.3877, allocations: 0 / 0.6667 GB, free: 5.398 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.0004244/0.3881, allocations: 385.7 kB / 0.6671 GB, free: 5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.3881, allocations: 10.25 kB / 0.6671 GB, free: 5 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.429e-05/0.3882, allocations: 44.02 kB / 0.6671 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.523e-05/0.3882, allocations: 7.391 kB / 0.6672 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.914e-05/0.3883, allocations: 175.9 kB / 0.6673 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.3883, allocations: 5.656 kB / 0.6673 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.3883, allocations: 1.656 kB / 0.6673 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.3886, allocations: 114.8 kB / 0.6674 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3886, allocations: 3.938 kB / 0.6674 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.3886, allocations: 3.984 kB / 0.6674 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.336e-05/0.3886, allocations: 8.188 kB / 0.6675 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003316/0.389, allocations: 129.6 kB / 0.6676 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003193/0.3893, allocations: 338.2 kB / 0.6679 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.3895, allocations: 57.69 kB / 0.668 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.3896, allocations: 39.8 kB / 0.668 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002476/0.3899, allocations: 124.2 kB / 0.6681 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.417e-05/0.3899, allocations: 30.56 kB / 0.6681 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3899, allocations: 1.469 kB / 0.6681 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005372/0.3905, allocations: 140.8 kB / 0.6683 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/0.3905, allocations: 59.34 kB / 0.6683 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.684e-05/0.3906, allocations: 153.3 kB / 0.6685 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.3906, allocations: 27.02 kB / 0.6685 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.163e-05/0.3907, allocations: 120 kB / 0.6686 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.576e-06/0.3907, allocations: 6.547 kB / 0.6686 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/0.3907, allocations: 35.84 kB / 0.6687 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.215e-05/0.3908, allocations: 317.7 kB / 0.669 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.3909, allocations: 49.55 kB / 0.669 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.3911, allocations: 107.9 kB / 0.6691 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003227/0.3914, allocations: 176.2 kB / 0.6693 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3915, allocations: 9.156 kB / 0.6693 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004048/0.3919, allocations: 180.1 kB / 0.6695 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3919, allocations: 6.062 kB / 0.6695 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.3919, allocations: 2.469 kB / 0.6695 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.3919, allocations: 7.125 kB / 0.6695 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.3921, allocations: 37.34 kB / 0.6695 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.3921, allocations: 11.81 kB / 0.6695 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.3922, allocations: 27.14 kB / 0.6696 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.3922, allocations: 10.91 kB / 0.6696 GB, free: 2.82 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.055e-05/0.3923, allocations: 120.1 kB / 0.6697 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.3923, allocations: 7.797 kB / 0.6697 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003577/0.3927, allocations: 121.7 kB / 0.6698 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3927, allocations: 5.406 kB / 0.6698 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.3927, allocations: 0 / 0.6698 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.3927, allocations: 1.25 kB / 0.6698 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.3929, allocations: 184.8 kB / 0.67 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3929, allocations: 5.469 kB / 0.67 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.169e-05/0.393, allocations: 14.05 kB / 0.67 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.393, allocations: 1.469 kB / 0.67 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.393, allocations: 0 / 0.67 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.393, allocations: 5.281 kB / 0.67 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.393, allocations: 0 / 0.67 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003279/0.3933, allocations: 198.4 kB / 0.6702 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.135e-05/0.3934, allocations: 87.41 kB / 0.6703 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.3934, allocations: 1.375 kB / 0.6703 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.3935, allocations: 13.52 kB / 0.6703 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.3935, allocations: 6.797 kB / 0.6703 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.3936, allocations: 2.781 kB / 0.6703 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.073e-05/0.3936, allocations: 111.4 kB / 0.6704 GB, free: 2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3936, allocations: 4 kB / 0.6704 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002611/0.3939, allocations: 18.06 kB / 0.6704 GB, free: 1.992 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.00053/0.3944, allocations: 0.7307 MB / 0.6711 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003813/0.3948, allocations: 103.5 kB / 0.6712 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3948, allocations: 0 / 0.6712 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.395, allocations: 34.44 kB / 0.6713 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.3953, allocations: 18.3 kB / 0.6713 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004416/0.3957, allocations: 213.5 kB / 0.6715 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.978e-05/0.3958, allocations: 0.6966 MB / 0.6722 GB, free: 320 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.742e-05/0.3959, allocations: 37.89 kB / 0.6722 GB, free: 296 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.93e-05/0.396, allocations: 24.25 kB / 0.6722 GB, free: 276 kB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.396, allocations: 0 / 0.6722 GB, free: 276 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02306/0.4191, allocations: 2.174 MB / 0.6744 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.884/8.304, allocations: 9.703 kB / 0.6744 GB, free: 15.1 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Bicubic.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Bicubic.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Bicubic.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Math_Examples_Bicubic.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Bicubic.pipe 2>&1)