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.001406/0.001407, 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.001541/0.001541, allocations: 192.6 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.338/1.338, 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/IDEAS 3.0.0/package.mo): time 0.7534/0.7534, allocations: 132.2 MB / 422.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002504/0.002504, allocations: 68.89 kB / 0.5019 GB, free: 8.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2024, allocations: 80.2 MB / 0.5802 GB, free: 8.68 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Bicubic): time 0.002596/0.205, allocations: 1.483 MB / 0.5816 GB, free: 7.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003129/0.2053, allocations: 128.4 kB / 0.5818 GB, free: 7.051 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.193e-05/0.2054, allocations: 0 / 0.5818 GB, free: 7.051 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.132e-05/0.2054, allocations: 3.938 kB / 0.5818 GB, free: 7.047 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.394e-05/0.2055, allocations: 11.88 kB / 0.5818 GB, free: 7.035 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.2057, allocations: 27.89 kB / 0.5818 GB, free: 7.008 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.546e-05/0.2058, allocations: 47.92 kB / 0.5818 GB, free: 6.961 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.215e-05/0.2059, allocations: 11.97 kB / 0.5819 GB, free: 6.949 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.592e-05/0.2059, allocations: 19.92 kB / 0.5819 GB, free: 6.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.956e-05/0.206, allocations: 19.92 kB / 0.5819 GB, free: 6.91 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.206, allocations: 4 kB / 0.5819 GB, free: 6.906 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.45e-05/0.2061, allocations: 35.97 kB / 0.5819 GB, free: 6.871 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.406e-05/0.2062, allocations: 15.92 kB / 0.5819 GB, free: 6.855 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.49e-05/0.2062, allocations: 23.86 kB / 0.582 GB, free: 6.832 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.2064, allocations: 71.78 kB / 0.582 GB, free: 6.762 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2064, allocations: 0 / 0.582 GB, free: 6.762 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2064, allocations: 3.938 kB / 0.582 GB, free: 6.758 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.2064, allocations: 4 kB / 0.582 GB, free: 6.754 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.0005249/0.2069, allocations: 387.4 kB / 0.5824 GB, free: 6.324 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.207, allocations: 8.031 kB / 0.5824 GB, free: 6.316 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.237e-05/0.207, allocations: 42.73 kB / 0.5825 GB, free: 6.266 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.207, allocations: 4.844 kB / 0.5825 GB, free: 6.262 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.2072, allocations: 172.3 kB / 0.5826 GB, free: 6.055 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.2072, allocations: 4.375 kB / 0.5826 GB, free: 6.051 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.2072, allocations: 384 / 0.5826 GB, free: 6.051 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003031/0.2075, allocations: 118.1 kB / 0.5827 GB, free: 5.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.2075, allocations: 3.938 kB / 0.5828 GB, free: 5.926 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.2075, allocations: 3.938 kB / 0.5828 GB, free: 5.922 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.758e-05/0.2076, allocations: 8 kB / 0.5828 GB, free: 5.914 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003626/0.2079, allocations: 127.9 kB / 0.5829 GB, free: 5.789 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/0.2084, allocations: 336.7 kB / 0.5832 GB, free: 5.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.2086, allocations: 58.53 kB / 0.5833 GB, free: 5.344 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.2088, allocations: 44.86 kB / 0.5833 GB, free: 5.297 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002986/0.2091, allocations: 121.2 kB / 0.5834 GB, free: 5.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.2091, allocations: 30.56 kB / 0.5835 GB, free: 5.121 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.2091, allocations: 0 / 0.5835 GB, free: 5.121 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005733/0.2097, allocations: 137.5 kB / 0.5836 GB, free: 4.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.2097, allocations: 55.34 kB / 0.5836 GB, free: 4.914 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.2099, allocations: 159.4 kB / 0.5838 GB, free: 4.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.2099, allocations: 25.7 kB / 0.5838 GB, free: 4.719 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.32e-05/0.21, allocations: 117.5 kB / 0.5839 GB, free: 4.602 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.444e-05/0.21, allocations: 11.81 kB / 0.5839 GB, free: 4.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-05/0.2101, allocations: 33.7 kB / 0.584 GB, free: 4.551 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.645e-05/0.2102, allocations: 318.8 kB / 0.5843 GB, free: 4.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.2103, allocations: 47.89 kB / 0.5843 GB, free: 4.184 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.2106, allocations: 119.8 kB / 0.5844 GB, free: 4.035 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003672/0.2109, allocations: 169.3 kB / 0.5846 GB, free: 3.836 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.211, allocations: 7.938 kB / 0.5846 GB, free: 3.828 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004376/0.2114, allocations: 177.2 kB / 0.5848 GB, free: 3.648 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.2114, allocations: 8 kB / 0.5848 GB, free: 3.641 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2114, allocations: 0 / 0.5848 GB, free: 3.641 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.2115, allocations: 8.25 kB / 0.5848 GB, free: 3.633 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.2116, allocations: 51.91 kB / 0.5848 GB, free: 3.582 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2116, allocations: 0 / 0.5848 GB, free: 3.582 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.2118, allocations: 27.81 kB / 0.5849 GB, free: 3.555 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.2118, allocations: 8 kB / 0.5849 GB, free: 3.547 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.697e-05/0.2119, allocations: 130.4 kB / 0.585 GB, free: 3.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.2119, allocations: 7.906 kB / 0.585 GB, free: 3.402 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003965/0.2123, allocations: 117.8 kB / 0.5851 GB, free: 3.273 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.2123, allocations: 3.938 kB / 0.5851 GB, free: 3.27 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.2123, allocations: 0 / 0.5851 GB, free: 3.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2123, allocations: 0 / 0.5851 GB, free: 3.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.2125, allocations: 177.6 kB / 0.5853 GB, free: 3.047 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2125, allocations: 0 / 0.5853 GB, free: 3.047 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.2127, allocations: 19.98 kB / 0.5853 GB, free: 3.027 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.2127, allocations: 0 / 0.5853 GB, free: 3.027 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.2127, allocations: 0 / 0.5853 GB, free: 3.027 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.2127, allocations: 3.938 kB / 0.5853 GB, free: 3.023 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.2127, allocations: 4 kB / 0.5853 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003743/0.2131, allocations: 203.3 kB / 0.5855 GB, free: 2.805 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.806e-05/0.2131, allocations: 81.11 kB / 0.5856 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.2132, allocations: 4 kB / 0.5856 GB, free: 2.703 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.2133, allocations: 15.92 kB / 0.5856 GB, free: 2.688 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.2133, allocations: 3.984 kB / 0.5856 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.2133, allocations: 4 kB / 0.5856 GB, free: 2.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.174e-05/0.2134, allocations: 117.3 kB / 0.5857 GB, free: 2.566 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2134, allocations: 0 / 0.5857 GB, free: 2.566 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002811/0.2137, allocations: 20 kB / 0.5857 GB, free: 2.547 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.0006731/0.2144, allocations: 0.7358 MB / 0.5865 GB, free: 1.781 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003794/0.2148, allocations: 103.8 kB / 0.5866 GB, free: 1.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2148, allocations: 4 kB / 0.5866 GB, free: 1.676 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.2149, allocations: 36.59 kB / 0.5866 GB, free: 1.641 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.2152, allocations: 15.88 kB / 0.5866 GB, free: 1.625 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005247/0.2158, allocations: 207.4 kB / 0.5868 GB, free: 1.383 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.216, allocations: 0.6924 MB / 0.5875 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.654e-05/0.2161, allocations: 24.41 kB / 0.5875 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.179e-05/0.2162, allocations: 27.44 kB / 0.5875 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2162, allocations: 0 / 0.5875 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01796/0.2341, allocations: 2.126 MB / 0.5896 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.539/7.773, allocations: 5.375 kB / 0.5896 GB, free: 14.55 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)