Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.00125/0.00125, allocations: 110.4 kB / 19.73 MB, free: 2.242 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.001457/0.001457, allocations: 213.4 kB / 23.04 MB, free: 5.078 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.8644/0.8644, allocations: 134 MB / 447.2 MB, free: 10.21 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.InverseXDerivative_2_Check,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",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.001951/0.001951, allocations: 68.73 kB / 0.6194 GB, free: 7.117 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1658, allocations: 85.91 MB / 0.7033 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002082/0.1679, allocations: 0.7913 MB / 0.704 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002097/0.17, allocations: 1.54 MB / 0.7055 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.058e-05/0.17, allocations: 4 kB / 0.7055 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.364e-05/0.1701, allocations: 3.938 kB / 0.7055 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.695e-05/0.1701, allocations: 0 / 0.7055 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005146/0.1706, allocations: 147.5 kB / 0.7057 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.368e-05/0.1707, allocations: 59.58 kB / 0.7057 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.963e-05/0.1708, allocations: 4.281 kB / 0.7057 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.384e-05/0.1708, allocations: 23.92 kB / 0.7058 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.413e-05/0.1709, allocations: 35.89 kB / 0.7058 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.1709, allocations: 4 kB / 0.7058 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004832/0.1714, allocations: 319.4 kB / 0.7061 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.469e-05/0.1714, allocations: 15.92 kB / 0.7061 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.629e-05/0.1715, allocations: 23.86 kB / 0.7062 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003315/0.1718, allocations: 219.4 kB / 0.7064 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1718, allocations: 0 / 0.7064 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1718, allocations: 3.938 kB / 0.7064 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.1718, allocations: 3.984 kB / 0.7064 GB, free: 14.1 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006504/0.1725, allocations: 329.8 kB / 0.7067 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1725, allocations: 8.031 kB / 0.7067 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.196e-05/0.1725, allocations: 192 / 0.7067 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.392e-05/0.1726, allocations: 38.75 kB / 0.7067 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004564/0.173, allocations: 76.84 kB / 0.7068 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.1731, allocations: 114.4 kB / 0.7069 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.1731, allocations: 4.375 kB / 0.7069 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/0.1732, allocations: 8.375 kB / 0.7069 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003922/0.1736, allocations: 120.7 kB / 0.707 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1736, allocations: 0 / 0.707 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.1736, allocations: 4 kB / 0.707 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.1736, allocations: 4 kB / 0.707 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005152/0.1741, allocations: 95.89 kB / 0.7071 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006322/0.1748, allocations: 307.8 kB / 0.7074 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007059/0.1755, allocations: 150.4 kB / 0.7076 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.1757, allocations: 60.8 kB / 0.7076 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.1757, allocations: 0 / 0.7076 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.1758, allocations: 30.56 kB / 0.7077 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/0.1758, allocations: 0 / 0.7077 GB, free: 12.64 MB / 0.5294 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=11): time 0.0189/0.1947, allocations: 2.7 MB / 0.7103 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.1947, allocations: 55.41 kB / 0.7103 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.186e-05/0.1948, allocations: 109.8 kB / 0.7105 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.834e-05/0.1949, allocations: 25.7 kB / 0.7105 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.581e-05/0.1949, allocations: 88.08 kB / 0.7106 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.301e-05/0.195, allocations: 43.69 kB / 0.7106 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001819/0.1952, allocations: 65.58 kB / 0.7107 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1953, allocations: 314.8 kB / 0.711 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007173/0.196, allocations: 195.8 kB / 0.7112 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006955/0.1967, allocations: 191.8 kB / 0.7113 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.1982, allocations: 392.7 kB / 0.7117 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1982, allocations: 0 / 0.7117 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001644/0.1998, allocations: 477.2 kB / 0.7122 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1998, allocations: 7.938 kB / 0.7122 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1998, allocations: 3.938 kB / 0.7122 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1999, allocations: 3.938 kB / 0.7122 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008501/0.2007, allocations: 111.8 kB / 0.7123 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.2007, allocations: 400 / 0.7123 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006173/0.2013, allocations: 43.94 kB / 0.7123 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.363e-05/0.2014, allocations: 23.94 kB / 0.7124 GB, free: 7.723 MB / 0.5294 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 (13): * Single equations (assignments): 13 * 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 0.0001808/0.2016, allocations: 117.8 kB / 0.7125 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.724e-05/0.2017, allocations: 11.95 kB / 0.7125 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.171e-05/0.2017, allocations: 8.062 kB / 0.7125 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.2017, allocations: 3.938 kB / 0.7125 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2017, allocations: 0 / 0.7125 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.2017, allocations: 8 kB / 0.7125 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/0.2042, allocations: 1.022 MB / 0.7135 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.2042, allocations: 3.938 kB / 0.7135 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008436/0.205, allocations: 103.8 kB / 0.7136 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.205, allocations: 4 kB / 0.7136 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.866e-05/0.2051, allocations: 23.94 kB / 0.7136 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.2051, allocations: 4 kB / 0.7136 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2051, allocations: 3.938 kB / 0.7136 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002534/0.2076, allocations: 0.7931 MB / 0.7144 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.2078, allocations: 35.88 kB / 0.7144 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.045e-05/0.2078, allocations: 4 kB / 0.7144 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006922/0.2085, allocations: 44 kB / 0.7145 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.2086, allocations: 35.91 kB / 0.7145 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-05/0.2087, allocations: 23.94 kB / 0.7145 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.117e-05/0.2087, allocations: 79.22 kB / 0.7146 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.2087, allocations: 4 kB / 0.7146 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000396/0.2091, allocations: 56.03 kB / 0.7147 GB, free: 5.215 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.002973/0.2121, allocations: 1.34 MB / 0.716 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00155/0.2137, allocations: 427.5 kB / 0.7164 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2137, allocations: 0 / 0.7164 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007645/0.2144, allocations: 223.7 kB / 0.7166 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.2148, allocations: 18.48 kB / 0.7166 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009144/0.224, allocations: 2.941 MB / 0.7195 GB, free: 176 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.2243, allocations: 0.6962 MB / 0.7202 GB, free: 15.45 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005224/0.2248, allocations: 88.67 kB / 0.7203 GB, free: 15.36 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002924/0.2251, allocations: 67.3 kB / 0.7203 GB, free: 15.3 MB / 0.545 GB Notification: Performance of SimCode: time 7.92e-07/0.2251, allocations: 0 / 0.7203 GB, free: 15.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02844/0.2536, allocations: 4.811 MB / 0.725 GB, free: 10.64 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.49, allocations: 5.609 kB / 0.725 GB, free: 10.63 MB / 0.545 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --stepSize=0.0012 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.156705049914308] Failed to read output from testmodel.py, exit status != 0: 11.662333908956498 11.679263254 11.504328094 Calling exit ...