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.001167/0.001167, allocations: 108 kB / 15.6 MB, free: 132 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.001128/0.001128, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.165/1.165, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.657/0.657, allocations: 132.2 MB / 422.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 68.77 kB / 0.5019 GB, free: 3.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3121, allocations: 80.21 MB / 0.5802 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.002123/0.3142, allocations: 1.43 MB / 0.5816 GB, free: 3.547 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008922/0.3151, allocations: 0.793 MB / 0.5824 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.623e-05/0.3152, allocations: 0.7812 kB / 0.5824 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.019e-05/0.3152, allocations: 8.547 kB / 0.5824 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.83e-05/0.3152, allocations: 6.047 kB / 0.5824 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003653/0.3156, allocations: 127 kB / 0.5825 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.913e-05/0.3157, allocations: 31.83 kB / 0.5825 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.308e-05/0.3158, allocations: 7.734 kB / 0.5825 GB, free: 2.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.007e-05/0.3158, allocations: 22.52 kB / 0.5826 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.886e-05/0.3158, allocations: 20.48 kB / 0.5826 GB, free: 2.891 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.3159, allocations: 2.969 kB / 0.5826 GB, free: 2.891 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004188/0.3163, allocations: 324.1 kB / 0.5829 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.3163, allocations: 12.66 kB / 0.5829 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.29e-05/0.3163, allocations: 12.62 kB / 0.5829 GB, free: 2.781 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.3166, allocations: 195.8 kB / 0.5831 GB, free: 2.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3166, allocations: 0 / 0.5831 GB, free: 2.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3166, allocations: 0 / 0.5831 GB, free: 2.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.3166, allocations: 0 / 0.5831 GB, free: 2.73 MB / 430.1 MB 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.0003824/0.317, allocations: 377.4 kB / 0.5835 GB, free: 2.348 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.3171, allocations: 8.875 kB / 0.5835 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.276e-05/0.3171, allocations: 32.03 kB / 0.5835 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004145/0.3175, allocations: 76.09 kB / 0.5836 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.297e-05/0.3176, allocations: 162.6 kB / 0.5837 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.3176, allocations: 1.312 kB / 0.5837 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.3176, allocations: 1.438 kB / 0.5837 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.3179, allocations: 89.95 kB / 0.5838 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.3179, allocations: 0.875 kB / 0.5838 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.3179, allocations: 0 / 0.5838 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.3179, allocations: 0.9375 kB / 0.5838 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003862/0.3183, allocations: 93.03 kB / 0.5839 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003919/0.3187, allocations: 295.1 kB / 0.5842 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000343/0.3191, allocations: 97.94 kB / 0.5843 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.3193, allocations: 47.36 kB / 0.5843 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.3193, allocations: 5.375 kB / 0.5843 GB, free: 1.699 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.116e-05/0.3193, allocations: 30.56 kB / 0.5844 GB, free: 1.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3193, allocations: 3.938 kB / 0.5844 GB, free: 1.656 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0006627/0.32, allocations: 169.3 kB / 0.5845 GB, free: 1.602 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.737e-05/0.32, allocations: 55.53 kB / 0.5846 GB, free: 1.535 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.691e-05/0.3201, allocations: 104 kB / 0.5847 GB, free: 1.434 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.3201, allocations: 29.64 kB / 0.5847 GB, free: 1.398 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.349e-05/0.3201, allocations: 86.23 kB / 0.5848 GB, free: 1.312 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.3201, allocations: 4.5 kB / 0.5848 GB, free: 1.309 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.3202, allocations: 14.84 kB / 0.5848 GB, free: 1.293 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.935e-05/0.3202, allocations: 321.5 kB / 0.5851 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.3204, allocations: 45.42 kB / 0.5852 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.3206, allocations: 43.47 kB / 0.5852 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003648/0.321, allocations: 97.14 kB / 0.5853 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.321, allocations: 0 / 0.5853 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004157/0.3214, allocations: 119.1 kB / 0.5854 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.3214, allocations: 5.375 kB / 0.5854 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3214, allocations: 0.6562 kB / 0.5854 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.3215, allocations: 1.125 kB / 0.5854 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.3216, allocations: 25.05 kB / 0.5854 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.3216, allocations: 4.812 kB / 0.5854 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.3217, allocations: 24.91 kB / 0.5855 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.3217, allocations: 0.8125 kB / 0.5855 GB, free: 0.875 MB / 430.1 MB 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 4.359e-05/0.3218, allocations: 113.7 kB / 0.5856 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/0.3218, allocations: 2.703 kB / 0.5856 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.496e-05/0.3219, allocations: 12.67 kB / 0.5856 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3219, allocations: 0.5938 kB / 0.5856 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.3219, allocations: 4 kB / 0.5856 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3219, allocations: 1.406 kB / 0.5856 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.322, allocations: 180.5 kB / 0.5858 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.322, allocations: 0.75 kB / 0.5858 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.3221, allocations: 20.25 kB / 0.5858 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3222, allocations: 0.6562 kB / 0.5858 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.3222, allocations: 1.781 kB / 0.5858 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3222, allocations: 0 / 0.5858 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3222, allocations: 1.469 kB / 0.5858 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004174/0.3226, allocations: 226.6 kB / 0.586 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.307e-05/0.3226, allocations: 78.02 kB / 0.5861 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.3226, allocations: 2.203 kB / 0.5861 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.3228, allocations: 16.75 kB / 0.5861 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.3228, allocations: 2.906 kB / 0.5861 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.3228, allocations: 9.859 kB / 0.5861 GB, free: 284 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.038e-05/0.3229, allocations: 85.12 kB / 0.5862 GB, free: 204 kB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3229, allocations: 0 / 0.5862 GB, free: 204 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002147/0.3231, allocations: 15.17 kB / 0.5862 GB, free: 200 kB / 430.1 MB 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.0006858/0.3238, allocations: 0.7539 MB / 0.5869 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004408/0.3242, allocations: 96.89 kB / 0.587 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3242, allocations: 8.062 kB / 0.587 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002061/0.3244, allocations: 50.06 kB / 0.5871 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.3247, allocations: 3.094 kB / 0.5871 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006075/0.3253, allocations: 192.6 kB / 0.5873 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001749/0.3255, allocations: 0.6802 MB / 0.5879 GB, free: 14.63 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.814e-05/0.3256, allocations: 8.375 kB / 0.588 GB, free: 14.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.3256, allocations: 14.88 kB / 0.588 GB, free: 14.62 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3256, allocations: 0 / 0.588 GB, free: 14.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.284/0.6097, allocations: 1.646 MB / 0.5896 GB, free: 14.24 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.671/8.281, allocations: 8.234 kB / 0.5896 GB, free: 14.24 MB / 446.1 MB (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/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)