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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 105.5 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.8499/0.8499, allocations: 134 MB / 436.6 MB, free: 1.285 MB / 334.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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 64.66 kB / 0.6051 GB, free: 15.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1676, allocations: 84.68 MB / 0.6878 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.002694/0.1703, allocations: 1.423 MB / 0.6892 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.1716, allocations: 0.8072 MB / 0.69 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.183e-05/0.1717, allocations: 4 kB / 0.69 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.898e-05/0.1717, allocations: 3.938 kB / 0.69 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.315e-05/0.1718, allocations: 7.922 kB / 0.69 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004706/0.1722, allocations: 127.5 kB / 0.6901 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.321e-05/0.1723, allocations: 35.91 kB / 0.6902 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.398e-05/0.1724, allocations: 8 kB / 0.6902 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.299e-05/0.1724, allocations: 11.98 kB / 0.6902 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.887e-05/0.1725, allocations: 23.91 kB / 0.6902 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.1725, allocations: 4 kB / 0.6902 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005249/0.173, allocations: 315.3 kB / 0.6905 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.173, allocations: 7.984 kB / 0.6905 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.573e-05/0.1731, allocations: 11.92 kB / 0.6905 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003791/0.1735, allocations: 203.7 kB / 0.6907 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.1e-05/0.1735, allocations: 8 kB / 0.6907 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1735, allocations: 0 / 0.6907 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.1735, allocations: 0 / 0.6907 GB, free: 8.066 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.0005726/0.174, allocations: 378.9 kB / 0.6911 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.1741, allocations: 8.031 kB / 0.6911 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.417e-05/0.1741, allocations: 34.73 kB / 0.6911 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004675/0.1746, allocations: 68.84 kB / 0.6912 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.1747, allocations: 168.3 kB / 0.6914 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.1748, allocations: 8.375 kB / 0.6914 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.1748, allocations: 384 / 0.6914 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003056/0.1751, allocations: 89.69 kB / 0.6914 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1751, allocations: 0 / 0.6914 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1751, allocations: 0 / 0.6914 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.1751, allocations: 0 / 0.6914 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000413/0.1755, allocations: 95.89 kB / 0.6915 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005424/0.1761, allocations: 292.9 kB / 0.6918 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003866/0.1764, allocations: 98.48 kB / 0.6919 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.1767, allocations: 56.88 kB / 0.692 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.1767, allocations: 3.938 kB / 0.692 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.1767, allocations: 30.56 kB / 0.692 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.1767, allocations: 0 / 0.692 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0007007/0.1774, allocations: 169.6 kB / 0.6922 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.1774, allocations: 59.41 kB / 0.6922 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.162e-05/0.1775, allocations: 93.86 kB / 0.6923 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.1776, allocations: 29.7 kB / 0.6923 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.838e-05/0.1776, allocations: 84.12 kB / 0.6924 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.1776, allocations: 7.953 kB / 0.6924 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.1777, allocations: 17.72 kB / 0.6924 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1778, allocations: 318.8 kB / 0.6927 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.178, allocations: 43.94 kB / 0.6928 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.1782, allocations: 51.89 kB / 0.6928 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003641/0.1786, allocations: 88.83 kB / 0.6929 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1786, allocations: 0 / 0.6929 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004413/0.179, allocations: 129.5 kB / 0.693 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.179, allocations: 4 kB / 0.693 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.179, allocations: 3.938 kB / 0.6931 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.179, allocations: 0 / 0.6931 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.1792, allocations: 28 kB / 0.6931 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.778e-06/0.1792, allocations: 0 / 0.6931 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.1793, allocations: 15.92 kB / 0.6931 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.1793, allocations: 4 kB / 0.6931 GB, free: 5.402 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 9.556e-05/0.1794, allocations: 121.7 kB / 0.6932 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.1794, allocations: 0 / 0.6932 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.176e-05/0.1795, allocations: 11.12 kB / 0.6932 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1795, allocations: 0 / 0.6932 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1795, allocations: 0 / 0.6932 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.1795, allocations: 0 / 0.6932 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.1797, allocations: 173.6 kB / 0.6934 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1797, allocations: 0 / 0.6934 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.1798, allocations: 20.22 kB / 0.6934 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1798, allocations: 4 kB / 0.6934 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.1798, allocations: 8 kB / 0.6934 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1798, allocations: 0 / 0.6934 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1798, allocations: 0 / 0.6934 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005193/0.1804, allocations: 223.3 kB / 0.6936 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.596e-05/0.1804, allocations: 77.11 kB / 0.6937 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.1804, allocations: 0 / 0.6937 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.1806, allocations: 24 kB / 0.6937 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.1806, allocations: 3.938 kB / 0.6937 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.1806, allocations: 7.984 kB / 0.6937 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.899e-05/0.1807, allocations: 83.28 kB / 0.6938 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1807, allocations: 0 / 0.6938 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002387/0.1809, allocations: 15.98 kB / 0.6938 GB, free: 4.547 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.000827/0.1817, allocations: 0.7669 MB / 0.6946 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004295/0.1822, allocations: 95.89 kB / 0.6947 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1822, allocations: 3.938 kB / 0.6947 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.1824, allocations: 43.95 kB / 0.6947 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.1826, allocations: 8.125 kB / 0.6947 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007238/0.1834, allocations: 198.9 kB / 0.6949 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004853/0.1839, allocations: 0.6807 MB / 0.6956 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.695e-05/0.1839, allocations: 8 kB / 0.6956 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.832e-05/0.184, allocations: 11.42 kB / 0.6956 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of SimCode: time 3.41e-07/0.184, allocations: 0 / 0.6956 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02351/0.2075, allocations: 1.681 MB / 0.6972 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.948/8.156, allocations: 12.58 kB / 0.6973 GB, free: 1.059 MB / 0.5137 GB " [Timeout remaining time 652] (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: 11.757290779147297] Failed to read output from testmodel.py, exit status != 0: 8.223875430878252 8.250920453 8.072548729 Calling exit ...