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.006472/0.006472, allocations: 97.42 kB / 15.73 MB, free: 5.988 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.001256/0.001256, allocations: 185.1 kB / 16.67 MB, free: 5.918 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9654/0.9654, allocations: 135.1 MB / 425.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 63.91 kB / 0.5851 GB, free: 3.805 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4423/0.4437, allocations: 80.92 MB / 0.6642 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Bicubic): time 0.002578/0.4463, allocations: 1.484 MB / 0.6656 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003306/0.4467, allocations: 122.2 kB / 0.6657 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.878e-05/0.4468, allocations: 0 / 0.6657 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.691e-05/0.4468, allocations: 9.625 kB / 0.6657 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.041e-05/0.4469, allocations: 5.281 kB / 0.6657 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.4471, allocations: 39.92 kB / 0.6658 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.4472, allocations: 44.56 kB / 0.6658 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.4474, allocations: 9 kB / 0.6658 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.796e-05/0.4474, allocations: 18.78 kB / 0.6659 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.334e-05/0.4475, allocations: 21.36 kB / 0.6659 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.4475, allocations: 7.719 kB / 0.6659 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.961e-05/0.4476, allocations: 39.58 kB / 0.6659 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.555e-05/0.4476, allocations: 7.969 kB / 0.6659 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.613e-05/0.4477, allocations: 27.92 kB / 0.666 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.4478, allocations: 77.34 kB / 0.666 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.4479, allocations: 0 / 0.666 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.335e-06/0.4479, allocations: 0 / 0.666 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.4479, allocations: 0 / 0.666 GB, free: 5.82 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.0005474/0.4484, allocations: 390.3 kB / 0.6664 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.4485, allocations: 9.438 kB / 0.6664 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.261e-05/0.4485, allocations: 39.91 kB / 0.6664 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.4486, allocations: 7.672 kB / 0.6665 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.844e-05/0.4487, allocations: 172.2 kB / 0.6666 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.4487, allocations: 5.594 kB / 0.6666 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.4487, allocations: 1.875 kB / 0.6666 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002931/0.449, allocations: 109.4 kB / 0.6667 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.449, allocations: 13.12 kB / 0.6667 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.449, allocations: 0 / 0.6667 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.968e-05/0.4491, allocations: 16.23 kB / 0.6668 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003402/0.4494, allocations: 117.8 kB / 0.6669 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003709/0.4498, allocations: 342.9 kB / 0.6672 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.45, allocations: 64.41 kB / 0.6673 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.4501, allocations: 40.31 kB / 0.6673 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000258/0.4504, allocations: 123 kB / 0.6674 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.492e-05/0.4504, allocations: 36 kB / 0.6674 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.4504, allocations: 0 / 0.6674 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005294/0.451, allocations: 141.6 kB / 0.6676 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.451, allocations: 59.33 kB / 0.6676 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.4511, allocations: 149.3 kB / 0.6678 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.4511, allocations: 26.92 kB / 0.6678 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.715e-05/0.4512, allocations: 120 kB / 0.6679 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.228e-05/0.4512, allocations: 14.12 kB / 0.6679 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.4513, allocations: 32.08 kB / 0.668 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.99e-05/0.4513, allocations: 321.8 kB / 0.6683 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.4515, allocations: 45.14 kB / 0.6683 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.4517, allocations: 108.3 kB / 0.6684 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/0.452, allocations: 172.3 kB / 0.6686 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.452, allocations: 1.25 kB / 0.6686 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004023/0.4524, allocations: 179.3 kB / 0.6688 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.4525, allocations: 13.25 kB / 0.6688 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.4525, allocations: 2.219 kB / 0.6688 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.4525, allocations: 7.281 kB / 0.6688 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.4527, allocations: 41.78 kB / 0.6688 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.4527, allocations: 2.5 kB / 0.6688 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.4528, allocations: 23.84 kB / 0.6688 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.4528, allocations: 10.25 kB / 0.6688 GB, free: 3.25 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.88e-05/0.4529, allocations: 133.5 kB / 0.669 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.4529, allocations: 2.656 kB / 0.669 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003608/0.4533, allocations: 110.9 kB / 0.6691 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.4533, allocations: 7.938 kB / 0.6691 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4533, allocations: 4.969 kB / 0.6691 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4533, allocations: 0 / 0.6691 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.4534, allocations: 183.1 kB / 0.6693 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4534, allocations: 0 / 0.6693 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.221e-05/0.4535, allocations: 13.98 kB / 0.6693 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4536, allocations: 5.422 kB / 0.6693 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.4536, allocations: 0 / 0.6693 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.4536, allocations: 9.016 kB / 0.6693 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4536, allocations: 3.938 kB / 0.6693 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003305/0.4539, allocations: 199.1 kB / 0.6695 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.282e-05/0.4539, allocations: 79 kB / 0.6696 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.454, allocations: 5.203 kB / 0.6696 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.4541, allocations: 18.92 kB / 0.6696 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.4541, allocations: 2.625 kB / 0.6696 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.4542, allocations: 10.48 kB / 0.6696 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.009e-05/0.4542, allocations: 108 kB / 0.6697 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4542, allocations: 3.938 kB / 0.6697 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002729/0.4545, allocations: 22.55 kB / 0.6697 GB, free: 2.406 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.0005641/0.4551, allocations: 0.7329 MB / 0.6704 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003791/0.4555, allocations: 106.7 kB / 0.6705 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4555, allocations: 1.406 kB / 0.6706 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.4556, allocations: 40.67 kB / 0.6706 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.4559, allocations: 8.156 kB / 0.6706 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004882/0.4564, allocations: 205.2 kB / 0.6708 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.4566, allocations: 0.6973 MB / 0.6715 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.122e-05/0.4567, allocations: 28.34 kB / 0.6715 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.454e-05/0.4567, allocations: 28.64 kB / 0.6715 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.4567, allocations: 0 / 0.6715 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01881/0.4755, allocations: 2.189 MB / 0.6737 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.496/7.972, allocations: 2.969 kB / 0.6737 GB, free: 15.52 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)