Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006208/0.006208, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.763/0.763, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 223.2 MB / 406.8 MB, free: 3.121 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008548/0.0008547, allocations: 98.45 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004634/0.0004632, allocations: 11.98 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.4231, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1427/0.5659, allocations: 112.5 MB / 0.7594 GB, free: 3.496 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/0.5661, allocations: 75.97 kB / 0.7594 GB, free: 3.422 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01174/0.5779, allocations: 3.848 MB / 0.7632 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5779, allocations: 0 / 0.7632 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.5779, allocations: 0 / 0.7632 GB, free: 15.57 MB / 0.5417 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.0004421/0.5784, allocations: 395.1 kB / 0.7636 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.5784, allocations: 11.97 kB / 0.7636 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/0.5785, allocations: 34.5 kB / 0.7636 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003448/0.5788, allocations: 63.92 kB / 0.7637 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.579, allocations: 175 kB / 0.7639 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.579, allocations: 0 / 0.7639 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.579, allocations: 0 / 0.7639 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002871/0.5793, allocations: 93.62 kB / 0.7639 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.5793, allocations: 0 / 0.7639 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.5793, allocations: 4 kB / 0.7639 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.5793, allocations: 4 kB / 0.7639 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004095/0.5797, allocations: 115.9 kB / 0.7641 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004406/0.5802, allocations: 292.7 kB / 0.7643 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003978/0.5806, allocations: 118.5 kB / 0.7644 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.5806, allocations: 4 kB / 0.7645 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.5807, allocations: 30.56 kB / 0.7645 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.5807, allocations: 0 / 0.7645 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0007296/0.5814, allocations: 209.5 kB / 0.7647 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.5815, allocations: 55.53 kB / 0.7647 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.653e-05/0.5815, allocations: 93 kB / 0.7648 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.5816, allocations: 25.7 kB / 0.7648 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.309e-05/0.5816, allocations: 84.14 kB / 0.7649 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.5816, allocations: 7.891 kB / 0.7649 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-06/0.5816, allocations: 0 / 0.7649 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.5818, allocations: 322.8 kB / 0.7652 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.582, allocations: 55.95 kB / 0.7653 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.5822, allocations: 55.95 kB / 0.7654 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.5824, allocations: 56.02 kB / 0.7654 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5824, allocations: 0 / 0.7654 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004425/0.5828, allocations: 153.5 kB / 0.7656 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.5829, allocations: 5.094 kB / 0.7656 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.5829, allocations: 0 / 0.7656 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.5829, allocations: 7.938 kB / 0.7656 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.5831, allocations: 28.25 kB / 0.7656 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.5831, allocations: 3.938 kB / 0.7656 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.5832, allocations: 27.97 kB / 0.7656 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.5832, allocations: 4 kB / 0.7656 GB, free: 12.86 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.094e-05/0.5833, allocations: 113.8 kB / 0.7657 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.5834, allocations: 3.906 kB / 0.7657 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.5834, allocations: 11.12 kB / 0.7657 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.5834, allocations: 0 / 0.7657 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.5834, allocations: 0 / 0.7657 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.5834, allocations: 0 / 0.7657 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.5836, allocations: 173.6 kB / 0.7659 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.5836, allocations: 0 / 0.7659 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.5838, allocations: 31.97 kB / 0.7659 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.5838, allocations: 0 / 0.7659 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.5838, allocations: 0 / 0.7659 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5838, allocations: 0 / 0.7659 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5838, allocations: 0 / 0.7659 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004748/0.5843, allocations: 251.3 kB / 0.7662 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.5843, allocations: 77.11 kB / 0.7663 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.5843, allocations: 0 / 0.7663 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.5845, allocations: 28 kB / 0.7663 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.5846, allocations: 4 kB / 0.7663 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.5846, allocations: 3.984 kB / 0.7663 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.858e-05/0.5846, allocations: 83.28 kB / 0.7664 GB, free: 12 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5846, allocations: 0 / 0.7664 GB, free: 12 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002533/0.5849, allocations: 19.94 kB / 0.7664 GB, free: 11.98 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001003/0.5859, allocations: 0.7871 MB / 0.7672 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004901/0.5864, allocations: 127.9 kB / 0.7673 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5864, allocations: 0 / 0.7673 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002111/0.5866, allocations: 56.02 kB / 0.7673 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.5869, allocations: 7.984 kB / 0.7673 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007041/0.5876, allocations: 214.5 kB / 0.7675 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.5879, allocations: 0.6809 MB / 0.7682 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.541e-05/0.5879, allocations: 8 kB / 0.7682 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.668e-05/0.588, allocations: 7.438 kB / 0.7682 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of SimCode: time 2.9e-07/0.588, allocations: 4 kB / 0.7682 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01221/0.6002, allocations: 1.378 MB / 0.7696 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002544/0.6005, allocations: 171.7 kB / 0.7697 GB, free: 8.504 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.516/2.116, allocations: 0 / 0.7697 GB, free: 8.504 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_InverseXRegularized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)