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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.009475/0.009475, allocations: 171.3 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7666/0.7666, allocations: 135.2 MB / 151 MB, free: 13.85 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.495/1.495, allocations: 223.2 MB / 406.8 MB, free: 3.215 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.0009045/0.0009046, allocations: 109.9 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003211, allocations: 12 kB / 0.5692 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3551, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1351/0.4903, allocations: 112.5 MB / 0.7594 GB, free: 3.52 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/0.4906, allocations: 83.89 kB / 0.7594 GB, free: 3.438 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01226/0.5029, allocations: 3.84 MB / 0.7632 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.913e-06/0.5029, allocations: 0 / 0.7632 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.503, allocations: 0 / 0.7632 GB, free: 15.59 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.000472/0.5034, allocations: 391 kB / 0.7636 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.5035, allocations: 12.03 kB / 0.7636 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.766e-05/0.5035, allocations: 34.5 kB / 0.7636 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003541/0.5039, allocations: 63.94 kB / 0.7637 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.504, allocations: 174.9 kB / 0.7638 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.5041, allocations: 4 kB / 0.7638 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.5041, allocations: 0 / 0.7638 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002918/0.5044, allocations: 97.62 kB / 0.7639 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.5044, allocations: 0 / 0.7639 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.5044, allocations: 0 / 0.7639 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.5044, allocations: 0 / 0.7639 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004068/0.5048, allocations: 115.9 kB / 0.7641 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/0.5053, allocations: 296.7 kB / 0.7643 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003711/0.5057, allocations: 114.5 kB / 0.7644 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.5057, allocations: 0 / 0.7644 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.5057, allocations: 34.56 kB / 0.7645 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.5057, allocations: 0 / 0.7645 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0007267/0.5064, allocations: 209.6 kB / 0.7647 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.5065, allocations: 51.41 kB / 0.7647 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.721e-05/0.5066, allocations: 96.98 kB / 0.7648 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.5066, allocations: 29.7 kB / 0.7648 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.22e-05/0.5066, allocations: 84.14 kB / 0.7649 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.5067, allocations: 3.906 kB / 0.7649 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.364e-05/0.5067, allocations: 32 / 0.7649 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.5068, allocations: 322.8 kB / 0.7652 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.507, allocations: 63.94 kB / 0.7653 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.5072, allocations: 51.95 kB / 0.7653 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.5074, allocations: 56.02 kB / 0.7654 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5074, allocations: 4 kB / 0.7654 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004377/0.5079, allocations: 145.5 kB / 0.7655 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.5079, allocations: 7.984 kB / 0.7656 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.5079, allocations: 0 / 0.7656 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.5079, allocations: 4.031 kB / 0.7656 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.5081, allocations: 27.92 kB / 0.7656 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.5081, allocations: 8.219 kB / 0.7656 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.5082, allocations: 23.98 kB / 0.7656 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.5083, allocations: 4 kB / 0.7656 GB, free: 12.89 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 7.794e-05/0.5083, allocations: 117.8 kB / 0.7657 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.5084, allocations: 7.891 kB / 0.7657 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.852e-05/0.5084, allocations: 3.125 kB / 0.7657 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.5084, allocations: 4 kB / 0.7657 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.5084, allocations: 0 / 0.7657 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.5084, allocations: 0 / 0.7657 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.5086, allocations: 177.6 kB / 0.7659 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.5086, allocations: 0 / 0.7659 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.5088, allocations: 23.98 kB / 0.7659 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.5088, allocations: 3.984 kB / 0.7659 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.5088, allocations: 0 / 0.7659 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.5088, allocations: 0 / 0.7659 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5088, allocations: 0 / 0.7659 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004823/0.5093, allocations: 251.3 kB / 0.7662 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.11e-05/0.5093, allocations: 81.14 kB / 0.7663 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.5093, allocations: 0 / 0.7663 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.5095, allocations: 27.97 kB / 0.7663 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.5095, allocations: 0 / 0.7663 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.5096, allocations: 4 kB / 0.7663 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.494e-05/0.5096, allocations: 79.28 kB / 0.7664 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5096, allocations: 4 kB / 0.7664 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000228/0.5098, allocations: 23.92 kB / 0.7664 GB, free: 12 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.0007983/0.5106, allocations: 0.7909 MB / 0.7672 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004893/0.5112, allocations: 119.9 kB / 0.7673 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.5112, allocations: 0 / 0.7673 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002159/0.5114, allocations: 64.02 kB / 0.7673 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.5116, allocations: 4 kB / 0.7673 GB, free: 11 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007041/0.5123, allocations: 210.5 kB / 0.7675 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.5125, allocations: 0.6809 MB / 0.7682 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.994e-05/0.5126, allocations: 11.98 kB / 0.7682 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.455e-05/0.5127, allocations: 11.44 kB / 0.7682 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of SimCode: time 2.3e-07/0.5127, allocations: 0 / 0.7682 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01438/0.5271, allocations: 1.376 MB / 0.7696 GB, free: 8.766 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/0.5273, allocations: 170.8 kB / 0.7697 GB, free: 8.523 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.485/2.012, allocations: 0 / 0.7697 GB, free: 8.523 MB / 0.5417 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_InverseXRegularized.fmu > IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)