Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.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.InverseXRegularized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_InverseXRegularized",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.004917/0.004917, allocations: 99.05 kB / 15.73 MB, free: 6.055 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.001105/0.001105, allocations: 201 kB / 16.68 MB, free: 5.977 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7435/0.7435, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 67.89 kB / 0.5809 GB, free: 8.066 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3838, allocations: 80.2 MB / 0.6592 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.002596/0.3865, allocations: 1.441 MB / 0.6606 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.3876, allocations: 0.7984 MB / 0.6614 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.109e-05/0.3876, allocations: 0 / 0.6614 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.3877, allocations: 1 kB / 0.6614 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.104e-05/0.3877, allocations: 4.641 kB / 0.6614 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004381/0.3882, allocations: 131.2 kB / 0.6615 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.16e-05/0.3883, allocations: 34.33 kB / 0.6615 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.201e-05/0.3884, allocations: 8.938 kB / 0.6616 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.451e-05/0.3884, allocations: 14.03 kB / 0.6616 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.92e-05/0.3885, allocations: 20.28 kB / 0.6616 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.3885, allocations: 2.688 kB / 0.6616 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004773/0.389, allocations: 317.5 kB / 0.6619 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.553e-05/0.389, allocations: 6.203 kB / 0.6619 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.859e-05/0.389, allocations: 15.05 kB / 0.6619 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000307/0.3893, allocations: 195.3 kB / 0.6621 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3894, allocations: 5.188 kB / 0.6621 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.245e-06/0.3894, allocations: 0.6562 kB / 0.6621 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.3894, allocations: 0 / 0.6621 GB, free: 8.105 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004423/0.3898, allocations: 376.6 kB / 0.6625 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.3899, allocations: 13.16 kB / 0.6625 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.944e-05/0.3899, allocations: 35.3 kB / 0.6625 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004499/0.3904, allocations: 70.36 kB / 0.6626 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.396e-05/0.3904, allocations: 169.8 kB / 0.6627 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.3905, allocations: 5.844 kB / 0.6627 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.3905, allocations: 9.656 kB / 0.6627 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/0.3908, allocations: 81 kB / 0.6628 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.3908, allocations: 0 / 0.6628 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.3908, allocations: 1.125 kB / 0.6628 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3908, allocations: 0 / 0.6628 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004013/0.3912, allocations: 95.67 kB / 0.6629 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004308/0.3916, allocations: 297.9 kB / 0.6632 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003538/0.392, allocations: 95.12 kB / 0.6633 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.3922, allocations: 59.42 kB / 0.6634 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.3922, allocations: 0 / 0.6634 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.376e-05/0.3923, allocations: 31.84 kB / 0.6634 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.3923, allocations: 0 / 0.6634 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.00071/0.393, allocations: 165.1 kB / 0.6635 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.393, allocations: 60.83 kB / 0.6636 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.748e-05/0.3931, allocations: 100.5 kB / 0.6637 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.846e-06/0.3931, allocations: 25.7 kB / 0.6637 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.249e-05/0.3931, allocations: 81.52 kB / 0.6638 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.3931, allocations: 9.062 kB / 0.6638 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.3932, allocations: 16.31 kB / 0.6638 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.164e-05/0.3932, allocations: 320.2 kB / 0.6641 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.3934, allocations: 40.67 kB / 0.6642 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.3936, allocations: 54.41 kB / 0.6642 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003819/0.394, allocations: 89.7 kB / 0.6643 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.394, allocations: 4 kB / 0.6643 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004288/0.3945, allocations: 120.2 kB / 0.6644 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3945, allocations: 5.812 kB / 0.6644 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.3945, allocations: 3.938 kB / 0.6644 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.3945, allocations: 1.656 kB / 0.6644 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.3947, allocations: 28.97 kB / 0.6645 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.3947, allocations: 0 / 0.6645 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.3948, allocations: 18.38 kB / 0.6645 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.3948, allocations: 1.125 kB / 0.6645 GB, free: 5.977 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 5.104e-05/0.3949, allocations: 116.6 kB / 0.6646 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.3949, allocations: 1.062 kB / 0.6646 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/0.3949, allocations: 8.203 kB / 0.6646 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3949, allocations: 5.125 kB / 0.6646 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.395, allocations: 3.938 kB / 0.6646 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.395, allocations: 0 / 0.6646 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.3951, allocations: 169.8 kB / 0.6648 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3951, allocations: 1.094 kB / 0.6648 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.3952, allocations: 20.44 kB / 0.6648 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3952, allocations: 1.312 kB / 0.6648 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.3952, allocations: 1.219 kB / 0.6648 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3953, allocations: 7.984 kB / 0.6648 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3953, allocations: 0 / 0.6648 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004483/0.3957, allocations: 227.9 kB / 0.665 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.482e-05/0.3957, allocations: 82.16 kB / 0.6651 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.3958, allocations: 0 / 0.6651 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.3959, allocations: 14.48 kB / 0.6651 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.075e-05/0.3959, allocations: 13.48 kB / 0.6651 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.396, allocations: 5.578 kB / 0.6651 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.045e-05/0.396, allocations: 79.62 kB / 0.6652 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.396, allocations: 0 / 0.6652 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002363/0.3962, allocations: 14.59 kB / 0.6652 GB, free: 5.234 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 (2): * Single equations (assignments): 2 * 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.000638/0.3969, allocations: 0.767 MB / 0.666 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004455/0.3973, allocations: 94.5 kB / 0.6661 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3973, allocations: 1.406 kB / 0.6661 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.3975, allocations: 52.16 kB / 0.6661 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.3978, allocations: 3.031 kB / 0.6661 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006196/0.3985, allocations: 191.7 kB / 0.6663 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.902e-05/0.3986, allocations: 0.6812 MB / 0.667 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.713e-05/0.3986, allocations: 11.88 kB / 0.667 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.3987, allocations: 12.58 kB / 0.667 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.3987, allocations: 1.25 kB / 0.667 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01625/0.4149, allocations: 1.684 MB / 0.6686 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.64/8.055, allocations: 4.094 kB / 0.6686 GB, free: 2.633 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized_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_InverseXRegularized.fmu > IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)