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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 116.8 kB / 17.17 MB, free: 6 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002179/0.002179, allocations: 214.3 kB / 20.13 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.513/1.513, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8772/0.8772, allocations: 133.9 MB / 443.5 MB, free: 13.99 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_InverseXRegularized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_InverseXRegularized",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 73.17 kB / 0.6141 GB, free: 38.36 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1715, allocations: 85.85 MB / 0.6979 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.003352/0.1748, allocations: 1.446 MB / 0.6994 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.1764, allocations: 0.84 MB / 0.7002 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.87e-05/0.1764, allocations: 0 / 0.7002 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.9e-05/0.1764, allocations: 0 / 0.7002 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.271e-05/0.1765, allocations: 9.266 kB / 0.7002 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005255/0.177, allocations: 136.8 kB / 0.7003 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.164e-05/0.1771, allocations: 30.67 kB / 0.7004 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.961e-05/0.1772, allocations: 2.906 kB / 0.7004 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.769e-05/0.1773, allocations: 17.98 kB / 0.7004 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.757e-05/0.1773, allocations: 23.16 kB / 0.7004 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.1773, allocations: 7.5 kB / 0.7004 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005168/0.1779, allocations: 320.6 kB / 0.7007 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.1779, allocations: 5.375 kB / 0.7007 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.977e-05/0.1779, allocations: 14.67 kB / 0.7007 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003346/0.1782, allocations: 196.4 kB / 0.7009 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1782, allocations: 0 / 0.7009 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1782, allocations: 0 / 0.7009 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.1783, allocations: 0 / 0.7009 GB, free: 11.47 MB / 0.5137 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.0006462/0.1789, allocations: 375.6 kB / 0.7013 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.1789, allocations: 15.3 kB / 0.7013 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.783e-05/0.179, allocations: 1.562 kB / 0.7013 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.533e-05/0.179, allocations: 34.73 kB / 0.7013 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000482/0.1795, allocations: 71.31 kB / 0.7014 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.1796, allocations: 171.1 kB / 0.7016 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.1797, allocations: 384 / 0.7016 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.1797, allocations: 1.75 kB / 0.7016 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003328/0.18, allocations: 94.44 kB / 0.7016 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.18, allocations: 0 / 0.7016 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.18, allocations: 0 / 0.7016 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.18, allocations: 1.375 kB / 0.7016 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004544/0.1805, allocations: 90.72 kB / 0.7017 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005537/0.181, allocations: 297.1 kB / 0.702 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003993/0.1814, allocations: 99.62 kB / 0.7021 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.1817, allocations: 46.62 kB / 0.7022 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.1817, allocations: 1.656 kB / 0.7022 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.1817, allocations: 34.56 kB / 0.7022 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1817, allocations: 0 / 0.7022 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0007661/0.1825, allocations: 173.6 kB / 0.7024 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.1825, allocations: 55.34 kB / 0.7024 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.802e-05/0.1826, allocations: 112.1 kB / 0.7025 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.1826, allocations: 26.8 kB / 0.7025 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/0.1827, allocations: 85.48 kB / 0.7026 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.1827, allocations: 9.219 kB / 0.7026 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.384e-05/0.1827, allocations: 12.44 kB / 0.7026 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1829, allocations: 323.8 kB / 0.7029 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/0.1831, allocations: 45.77 kB / 0.703 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.1833, allocations: 43.95 kB / 0.703 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004027/0.1837, allocations: 88.83 kB / 0.7031 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1837, allocations: 4 kB / 0.7031 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000493/0.1842, allocations: 125.5 kB / 0.7032 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1842, allocations: 4 kB / 0.7032 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1842, allocations: 0 / 0.7032 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1842, allocations: 0 / 0.7032 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.1844, allocations: 27.97 kB / 0.7033 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.1844, allocations: 3.984 kB / 0.7033 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.1846, allocations: 19.95 kB / 0.7033 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.1846, allocations: 7.984 kB / 0.7033 GB, free: 9.145 MB / 0.5137 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 8.819e-05/0.1847, allocations: 110.4 kB / 0.7034 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.1847, allocations: 3.953 kB / 0.7034 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.632e-05/0.1847, allocations: 11.12 kB / 0.7034 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1847, allocations: 0 / 0.7034 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.1847, allocations: 0 / 0.7034 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1847, allocations: 0 / 0.7034 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.1849, allocations: 173.6 kB / 0.7036 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.185, allocations: 4 kB / 0.7036 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.1851, allocations: 19.97 kB / 0.7036 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1851, allocations: 4 kB / 0.7036 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1851, allocations: 0 / 0.7036 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1851, allocations: 0 / 0.7036 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1851, allocations: 0 / 0.7036 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005434/0.1857, allocations: 227.3 kB / 0.7038 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.1857, allocations: 81.05 kB / 0.7039 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.1857, allocations: 7.938 kB / 0.7039 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.1859, allocations: 15.97 kB / 0.7039 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.1859, allocations: 3.984 kB / 0.7039 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.1859, allocations: 4 kB / 0.7039 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.074e-05/0.186, allocations: 91.52 kB / 0.704 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.1e-08/0.186, allocations: 4.031 kB / 0.704 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002507/0.1862, allocations: 12 kB / 0.704 GB, free: 8.293 MB / 0.5137 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.0009129/0.1871, allocations: 0.7552 MB / 0.7048 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005052/0.1877, allocations: 99.86 kB / 0.7049 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1877, allocations: 0 / 0.7049 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002288/0.1879, allocations: 48.02 kB / 0.7049 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.1882, allocations: 5.094 kB / 0.7049 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007746/0.189, allocations: 195.2 kB / 0.7051 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.1893, allocations: 0.6805 MB / 0.7058 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.48e-05/0.1894, allocations: 12 kB / 0.7058 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.178e-05/0.1894, allocations: 15.44 kB / 0.7058 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of SimCode: time 3.61e-07/0.1894, allocations: 0 / 0.7058 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01951/0.209, allocations: 1.708 MB / 0.7075 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.102/8.311, allocations: 15.86 kB / 0.7075 GB, free: 4.785 MB / 0.5137 GB " [Timeout remaining time 651] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_InverseXRegularized.fmu > IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.146027114009485] Failed to read output from testmodel.py, exit status != 0: 8.744855332013685 8.464104741 8.281560865 Calling exit ...