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.00117/0.00117, allocations: 108 kB / 15.61 MB, free: 148 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.001195/0.001196, allocations: 193.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.34/1.34, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9898/0.9898, allocations: 135.1 MB / 425.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001186, allocations: 59.66 kB / 0.5054 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1388, allocations: 80.94 MB / 0.5845 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Bicubic): time 0.002413/0.1413, allocations: 1.464 MB / 0.5859 GB, free: 2.965 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002549/0.1416, allocations: 116.5 kB / 0.586 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.745e-05/0.1416, allocations: 4 kB / 0.586 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.597e-05/0.1416, allocations: 3.938 kB / 0.586 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.949e-05/0.1417, allocations: 7.875 kB / 0.586 GB, free: 2.832 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001419/0.1418, allocations: 27.95 kB / 0.5861 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.132e-05/0.1419, allocations: 43.86 kB / 0.5861 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.092e-05/0.142, allocations: 19.97 kB / 0.5861 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.963e-05/0.142, allocations: 15.92 kB / 0.5861 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.543e-05/0.142, allocations: 23.92 kB / 0.5862 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.1421, allocations: 4 kB / 0.5862 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.736e-05/0.1422, allocations: 39.95 kB / 0.5862 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.144e-05/0.1422, allocations: 11.94 kB / 0.5862 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.1422, allocations: 27.8 kB / 0.5862 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.1424, allocations: 71.77 kB / 0.5863 GB, free: 2.551 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1424, allocations: 0 / 0.5863 GB, free: 2.551 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1424, allocations: 4 kB / 0.5863 GB, free: 2.547 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1424, allocations: 3.938 kB / 0.5863 GB, free: 2.543 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.0004644/0.1429, allocations: 379.5 kB / 0.5867 GB, free: 2.121 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.1429, allocations: 16.02 kB / 0.5867 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.741e-05/0.1429, allocations: 34.75 kB / 0.5867 GB, free: 2.062 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.336e-05/0.143, allocations: 8.844 kB / 0.5867 GB, free: 2.055 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.213e-05/0.1431, allocations: 172.2 kB / 0.5869 GB, free: 1.848 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.1431, allocations: 4.375 kB / 0.5869 GB, free: 1.844 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.1431, allocations: 4.375 kB / 0.5869 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/0.1434, allocations: 118.1 kB / 0.587 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.912e-06/0.1434, allocations: 7.938 kB / 0.587 GB, free: 1.711 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.056e-06/0.1434, allocations: 3.984 kB / 0.587 GB, free: 1.707 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/0.1434, allocations: 11.98 kB / 0.587 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003609/0.1438, allocations: 123.9 kB / 0.5872 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.1441, allocations: 348.6 kB / 0.5875 GB, free: 1.184 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.1443, allocations: 46.55 kB / 0.5875 GB, free: 1.129 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.1445, allocations: 48.91 kB / 0.5876 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002561/0.1448, allocations: 121.2 kB / 0.5877 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.1448, allocations: 34.55 kB / 0.5877 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1448, allocations: 0 / 0.5877 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005157/0.1453, allocations: 133.4 kB / 0.5879 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.1454, allocations: 59.34 kB / 0.5879 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.907e-05/0.1455, allocations: 151.9 kB / 0.5881 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.1455, allocations: 25.7 kB / 0.5881 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.303e-05/0.1456, allocations: 115.6 kB / 0.5882 GB, free: 396 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.297e-05/0.1456, allocations: 11.91 kB / 0.5882 GB, free: 384 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/0.1456, allocations: 33.61 kB / 0.5882 GB, free: 344 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.264e-05/0.1457, allocations: 314.8 kB / 0.5885 GB, free: 20 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.1459, allocations: 51.94 kB / 0.5886 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.1461, allocations: 115 kB / 0.5887 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003618/0.1465, allocations: 173.2 kB / 0.5889 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1465, allocations: 0 / 0.5889 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000439/0.1469, allocations: 181.3 kB / 0.589 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.147, allocations: 4 kB / 0.589 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.147, allocations: 4 kB / 0.589 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.147, allocations: 11.88 kB / 0.5891 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.1472, allocations: 36.28 kB / 0.5891 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1472, allocations: 8 kB / 0.5891 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.1473, allocations: 23.83 kB / 0.5891 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.1473, allocations: 8 kB / 0.5891 GB, free: 15.34 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 7.704e-05/0.1474, allocations: 125.7 kB / 0.5893 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.1474, allocations: 7.984 kB / 0.5893 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004117/0.1478, allocations: 121.7 kB / 0.5894 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1479, allocations: 7.875 kB / 0.5894 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.1479, allocations: 4 kB / 0.5894 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1479, allocations: 0 / 0.5894 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.148, allocations: 177.6 kB / 0.5896 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1481, allocations: 4 kB / 0.5896 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.1482, allocations: 15.98 kB / 0.5896 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1482, allocations: 0 / 0.5896 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.1482, allocations: 4 kB / 0.5896 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.1482, allocations: 7.922 kB / 0.5896 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.1482, allocations: 0 / 0.5896 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003603/0.1486, allocations: 203.8 kB / 0.5898 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.335e-05/0.1486, allocations: 85.02 kB / 0.5899 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.1486, allocations: 0 / 0.5899 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.1487, allocations: 19.91 kB / 0.5899 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.78e-05/0.1488, allocations: 4 kB / 0.5899 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.1488, allocations: 7.938 kB / 0.5899 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.802e-05/0.1489, allocations: 107.2 kB / 0.59 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1489, allocations: 4 kB / 0.59 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002675/0.1491, allocations: 23.91 kB / 0.59 GB, free: 14.32 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.0006241/0.1498, allocations: 0.7242 MB / 0.5907 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003701/0.1501, allocations: 107.8 kB / 0.5908 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1502, allocations: 3.938 kB / 0.5908 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.1503, allocations: 36.59 kB / 0.5909 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.1506, allocations: 21.95 kB / 0.5909 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004807/0.1511, allocations: 203.4 kB / 0.5911 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.1513, allocations: 0.6924 MB / 0.5918 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.27e-05/0.1514, allocations: 24.41 kB / 0.5918 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.814e-05/0.1515, allocations: 27.42 kB / 0.5918 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.1515, allocations: 0 / 0.5918 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01783/0.1694, allocations: 2.143 MB / 0.5939 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.412/7.582, allocations: 2.953 kB / 0.5939 GB, free: 10.33 MB / 0.4981 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)