Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.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.001405/0.001405, allocations: 124.9 kB / 17.17 MB, free: 5.918 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.001484/0.001484, allocations: 210.3 kB / 20.13 MB, free: 2.98 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.53/1.53, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.858/0.858, allocations: 133.9 MB / 443.5 MB, free: 13.96 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.Functions.Examples.InverseXRegularized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_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.001918/0.001918, allocations: 69.69 kB / 0.6142 GB, free: 38.26 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1463, allocations: 85.85 MB / 0.698 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001695/0.148, allocations: 0.6267 MB / 0.6986 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001848/0.1498, allocations: 1.514 MB / 0.7001 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.887e-05/0.1499, allocations: 0 / 0.7001 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.412e-05/0.1499, allocations: 3.938 kB / 0.7001 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.604e-05/0.1499, allocations: 5.312 kB / 0.7001 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003784/0.1503, allocations: 132.7 kB / 0.7002 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.583e-05/0.1504, allocations: 24.34 kB / 0.7002 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.817e-05/0.1504, allocations: 6.688 kB / 0.7002 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.756e-05/0.1504, allocations: 5.5 kB / 0.7003 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.669e-05/0.1505, allocations: 29.28 kB / 0.7003 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.1505, allocations: 2.75 kB / 0.7003 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004477/0.151, allocations: 316.6 kB / 0.7006 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.151, allocations: 9.359 kB / 0.7006 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.271e-05/0.151, allocations: 10.67 kB / 0.7006 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.1513, allocations: 196.5 kB / 0.7008 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1513, allocations: 0 / 0.7008 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1513, allocations: 1.375 kB / 0.7008 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.1513, allocations: 0 / 0.7008 GB, free: 11.55 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005228/0.1518, allocations: 381.6 kB / 0.7012 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.1518, allocations: 11.3 kB / 0.7012 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.443e-05/0.1519, allocations: 192 / 0.7012 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.376e-05/0.1519, allocations: 44.06 kB / 0.7012 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00036/0.1523, allocations: 63.19 kB / 0.7013 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.1524, allocations: 168.5 kB / 0.7014 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.1524, allocations: 5.75 kB / 0.7014 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.1524, allocations: 5.75 kB / 0.7014 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.1527, allocations: 72.95 kB / 0.7015 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1527, allocations: 5.312 kB / 0.7015 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.1527, allocations: 0 / 0.7015 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1527, allocations: 5.375 kB / 0.7015 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003561/0.1531, allocations: 69.34 kB / 0.7016 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001947/0.1533, allocations: 174.3 kB / 0.7018 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005569/0.1538, allocations: 130 kB / 0.7019 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.154, allocations: 38.05 kB / 0.7019 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.154, allocations: 7.938 kB / 0.7019 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.1541, allocations: 32.34 kB / 0.702 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1541, allocations: 3.938 kB / 0.702 GB, free: 10.42 MB / 0.5137 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.004145/0.1582, allocations: 0.7835 MB / 0.7027 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.1582, allocations: 55.41 kB / 0.7028 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.1583, allocations: 109.8 kB / 0.7029 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.1584, allocations: 29.7 kB / 0.7029 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.989e-05/0.1584, allocations: 80.14 kB / 0.703 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/0.1585, allocations: 31.73 kB / 0.703 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.373e-05/0.1585, allocations: 29.7 kB / 0.703 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1587, allocations: 314.8 kB / 0.7033 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004553/0.1591, allocations: 99.89 kB / 0.7034 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004276/0.1596, allocations: 99.89 kB / 0.7035 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008432/0.1604, allocations: 196.8 kB / 0.7037 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1604, allocations: 3.984 kB / 0.7037 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009437/0.1613, allocations: 245.3 kB / 0.704 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1614, allocations: 5.094 kB / 0.704 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.1614, allocations: 4 kB / 0.704 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.1614, allocations: 0 / 0.704 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003142/0.1617, allocations: 52.69 kB / 0.704 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.1617, allocations: 4.312 kB / 0.704 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/0.1619, allocations: 35.95 kB / 0.7041 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.162, allocations: 4 kB / 0.7041 GB, free: 8.418 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 (9): * Single equations (assignments): 9 * 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.361e-05/0.162, allocations: 118.4 kB / 0.7042 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.1621, allocations: 7.953 kB / 0.7042 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.377e-05/0.1621, allocations: 8.375 kB / 0.7042 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.1621, allocations: 7.938 kB / 0.7042 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1621, allocations: 4 kB / 0.7042 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1621, allocations: 0 / 0.7042 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.1639, allocations: 0.5975 MB / 0.7048 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1639, allocations: 0 / 0.7048 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002657/0.1641, allocations: 56 kB / 0.7048 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.563e-06/0.1641, allocations: 4 kB / 0.7048 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.1642, allocations: 3.984 kB / 0.7048 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.1642, allocations: 4 kB / 0.7048 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1642, allocations: 11.81 kB / 0.7049 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009768/0.1651, allocations: 341 kB / 0.7052 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.062e-05/0.1652, allocations: 85.06 kB / 0.7053 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.1652, allocations: 0 / 0.7053 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002623/0.1655, allocations: 43.95 kB / 0.7053 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.1655, allocations: 15.91 kB / 0.7053 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.1655, allocations: 4 kB / 0.7053 GB, free: 7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.082e-05/0.1656, allocations: 95.25 kB / 0.7054 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1656, allocations: 4 kB / 0.7054 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000299/0.1659, allocations: 43.86 kB / 0.7055 GB, free: 6.859 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.001391/0.1673, allocations: 0.8975 MB / 0.7063 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009533/0.1682, allocations: 211.7 kB / 0.7065 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1682, allocations: 0 / 0.7065 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000465/0.1687, allocations: 112 kB / 0.7066 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.169, allocations: 15.92 kB / 0.7067 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005001/0.174, allocations: 2.131 MB / 0.7087 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.1743, allocations: 0.6931 MB / 0.7094 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.34e-05/0.1744, allocations: 20.67 kB / 0.7094 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.912e-05/0.1745, allocations: 23.42 kB / 0.7095 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of SimCode: time 4e-07/0.1745, allocations: 0 / 0.7095 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01895/0.1934, allocations: 2.792 MB / 0.7122 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.247/8.44, allocations: 3.125 kB / 0.7122 GB, free: 15.97 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.206845653010532] Failed to read output from testmodel.py, exit status != 0: 8.845376170007512 8.586961823 8.43129922 Calling exit ...