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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001356/0.001356, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.196/1.196, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003166, allocations: 12 kB / 0.5069 GB, free: 5.117 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2077, allocations: 82.32 MB / 0.5873 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.002311/0.21, allocations: 1.144 MB / 0.5884 GB, free: 1.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.2119, allocations: 0.7337 MB / 0.5891 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.406e-05/0.212, allocations: 0 / 0.5891 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.89e-05/0.212, allocations: 0 / 0.5891 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.977e-05/0.2121, allocations: 3.984 kB / 0.5891 GB, free: 1.078 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005835/0.2127, allocations: 95.75 kB / 0.5892 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.387e-05/0.2128, allocations: 23.91 kB / 0.5892 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.2129, allocations: 7.984 kB / 0.5892 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.099e-05/0.213, allocations: 15.94 kB / 0.5893 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.578e-05/0.2131, allocations: 19.89 kB / 0.5893 GB, free: 0.918 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.2131, allocations: 4 kB / 0.5893 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000724/0.2139, allocations: 307.5 kB / 0.5896 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.597e-05/0.2139, allocations: 15.92 kB / 0.5896 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.97e-05/0.214, allocations: 29.64 kB / 0.5896 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003534/0.2143, allocations: 136.1 kB / 0.5897 GB, free: 440 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2144, allocations: 0 / 0.5897 GB, free: 440 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.2144, allocations: 0 / 0.5897 GB, free: 440 kB / 494.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.2144, allocations: 0 / 0.5897 GB, free: 440 kB / 494.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.000731/0.2151, allocations: 385.8 kB / 0.5901 GB, free: 8 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/0.2152, allocations: 8.031 kB / 0.5901 GB, free: 0 / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.592e-05/0.2153, allocations: 34.55 kB / 0.5902 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006819/0.216, allocations: 79.92 kB / 0.5902 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.2162, allocations: 170.9 kB / 0.5904 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.351e-05/0.2162, allocations: 4 kB / 0.5904 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.2162, allocations: 0 / 0.5904 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004486/0.2167, allocations: 101.6 kB / 0.5905 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2167, allocations: 0 / 0.5905 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.2168, allocations: 4 kB / 0.5905 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.2168, allocations: 0 / 0.5905 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006716/0.2174, allocations: 111.9 kB / 0.5906 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007904/0.2183, allocations: 312.8 kB / 0.5909 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00059/0.2189, allocations: 114.5 kB / 0.591 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.2189, allocations: 4.062 kB / 0.591 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.219, allocations: 34.5 kB / 0.5911 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.803e-06/0.219, allocations: 0 / 0.5911 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.001191/0.2202, allocations: 205.6 kB / 0.5912 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.2202, allocations: 51.41 kB / 0.5913 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.2204, allocations: 109.8 kB / 0.5914 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.2204, allocations: 25.7 kB / 0.5914 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.973e-05/0.2205, allocations: 80.14 kB / 0.5915 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.2205, allocations: 3.906 kB / 0.5915 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.287e-06/0.2205, allocations: 0 / 0.5915 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.2207, allocations: 322.9 kB / 0.5918 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003745/0.2211, allocations: 55.95 kB / 0.5919 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.2215, allocations: 59.88 kB / 0.5919 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/0.2218, allocations: 56.02 kB / 0.592 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2218, allocations: 4 kB / 0.592 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0007886/0.2226, allocations: 141.6 kB / 0.5921 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.2226, allocations: 4 kB / 0.5921 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.2227, allocations: 3.938 kB / 0.5921 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.2227, allocations: 8.016 kB / 0.5921 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.223, allocations: 23.98 kB / 0.5922 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.223, allocations: 0 / 0.5922 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.2232, allocations: 27.97 kB / 0.5922 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.2232, allocations: 3.953 kB / 0.5922 GB, free: 13.71 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.2234, allocations: 113.8 kB / 0.5923 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.782e-05/0.2234, allocations: 3.906 kB / 0.5923 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.146e-05/0.2235, allocations: 11.11 kB / 0.5923 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.2235, allocations: 4 kB / 0.5923 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.2235, allocations: 0 / 0.5923 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.2235, allocations: 0 / 0.5923 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003416/0.2239, allocations: 173.6 kB / 0.5925 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.2239, allocations: 0 / 0.5925 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.2241, allocations: 31.91 kB / 0.5925 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.2241, allocations: 3.984 kB / 0.5925 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.2241, allocations: 3.984 kB / 0.5925 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2241, allocations: 0 / 0.5925 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.2241, allocations: 0 / 0.5925 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005725/0.2247, allocations: 243.4 kB / 0.5927 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.04e-05/0.2247, allocations: 85.12 kB / 0.5928 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.2248, allocations: 0 / 0.5928 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.2249, allocations: 19.98 kB / 0.5928 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.225, allocations: 3.984 kB / 0.5929 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.225, allocations: 4.25 kB / 0.5929 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.941e-05/0.2251, allocations: 87.28 kB / 0.5929 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.91e-07/0.2251, allocations: 4 kB / 0.5929 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004436/0.2256, allocations: 12 kB / 0.593 GB, free: 12.83 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 (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.001395/0.227, allocations: 0.7864 MB / 0.5937 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007547/0.2278, allocations: 119.9 kB / 0.5938 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2278, allocations: 0 / 0.5938 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000351/0.2281, allocations: 67.94 kB / 0.5939 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.2285, allocations: 4 kB / 0.5939 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.2296, allocations: 214.2 kB / 0.5941 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.23, allocations: 0.6809 MB / 0.5948 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000132/0.2302, allocations: 8 kB / 0.5948 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.2e-05/0.2302, allocations: 15.42 kB / 0.5948 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.2303, allocations: 4 kB / 0.5948 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/0.2531, allocations: 1.366 MB / 0.5961 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003005/0.2535, allocations: 177.8 kB / 0.5963 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.308/2.561, allocations: 0 / 0.5963 GB, free: 9.379 MB / 0.4981 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) Environment - environmentSimulation: