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.001642/0.001642, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002086/0.002086, allocations: 220.7 kB / 23.03 MB, free: 4.945 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.8485/0.8485, allocations: 134 MB / 447.2 MB, free: 9.945 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.001996/0.001996, allocations: 66.14 kB / 0.6193 GB, free: 6.852 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1744, allocations: 85.91 MB / 0.7032 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002037/0.1764, allocations: 0.7724 MB / 0.7039 GB, free: 268 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002018/0.1784, allocations: 1.443 MB / 0.7054 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-05/0.1785, allocations: 0 / 0.7054 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.967e-05/0.1785, allocations: 7.922 kB / 0.7054 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.527e-05/0.1785, allocations: 3.938 kB / 0.7054 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000536/0.1791, allocations: 153.5 kB / 0.7055 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.1792, allocations: 55.64 kB / 0.7056 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.567e-05/0.1792, allocations: 4.281 kB / 0.7056 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.965e-05/0.1793, allocations: 31.91 kB / 0.7056 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.363e-05/0.1794, allocations: 27.91 kB / 0.7056 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.1794, allocations: 4 kB / 0.7056 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004005/0.1798, allocations: 259.5 kB / 0.7059 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.975e-05/0.1798, allocations: 23.92 kB / 0.7059 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.1798, allocations: 27.78 kB / 0.7059 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003306/0.1802, allocations: 199.4 kB / 0.7061 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1802, allocations: 0 / 0.7061 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1802, allocations: 0 / 0.7061 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.1802, allocations: 4 kB / 0.7061 GB, free: 14.02 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.0006489/0.1808, allocations: 329.8 kB / 0.7064 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.1809, allocations: 15.97 kB / 0.7064 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.852e-05/0.1809, allocations: 192 / 0.7064 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.579e-05/0.1809, allocations: 42.75 kB / 0.7065 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004582/0.1814, allocations: 68.84 kB / 0.7066 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.1815, allocations: 114.4 kB / 0.7067 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.1815, allocations: 8.375 kB / 0.7067 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.1816, allocations: 4.375 kB / 0.7067 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004041/0.182, allocations: 172.4 kB / 0.7068 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.182, allocations: 4 kB / 0.7068 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.182, allocations: 0 / 0.7068 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.182, allocations: 4 kB / 0.7068 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004695/0.1825, allocations: 99.89 kB / 0.7069 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005943/0.1831, allocations: 291.8 kB / 0.7072 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006466/0.1837, allocations: 150.5 kB / 0.7074 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/0.1839, allocations: 60.8 kB / 0.7074 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.184, allocations: 0 / 0.7074 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.184, allocations: 34.56 kB / 0.7075 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.001e-06/0.184, allocations: 0 / 0.7075 GB, free: 12.5 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.01893/0.2029, allocations: 2.693 MB / 0.7101 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.203, allocations: 55.41 kB / 0.7101 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.897e-05/0.2031, allocations: 101.8 kB / 0.7102 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.194e-05/0.2031, allocations: 29.7 kB / 0.7103 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/0.2032, allocations: 96.08 kB / 0.7104 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.792e-05/0.2033, allocations: 35.69 kB / 0.7104 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.2034, allocations: 69.58 kB / 0.7105 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.2036, allocations: 314.8 kB / 0.7108 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006609/0.2042, allocations: 191.8 kB / 0.7109 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006786/0.2049, allocations: 187.8 kB / 0.7111 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.2063, allocations: 400.7 kB / 0.7115 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.2063, allocations: 0 / 0.7115 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001564/0.2078, allocations: 481.2 kB / 0.712 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.2078, allocations: 11.94 kB / 0.712 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2078, allocations: 0 / 0.712 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.2079, allocations: 3.938 kB / 0.712 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000841/0.2087, allocations: 99.8 kB / 0.7121 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.2087, allocations: 8 kB / 0.7121 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006239/0.2093, allocations: 39.94 kB / 0.7121 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-05/0.2094, allocations: 31.92 kB / 0.7121 GB, free: 7.586 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.0001749/0.2096, allocations: 121.8 kB / 0.7123 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-05/0.2097, allocations: 3.953 kB / 0.7123 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.918e-05/0.2097, allocations: 16 kB / 0.7123 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.2097, allocations: 3.938 kB / 0.7123 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.2097, allocations: 0 / 0.7123 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2097, allocations: 0 / 0.7123 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002251/0.212, allocations: 0.9837 MB / 0.7132 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.212, allocations: 7.938 kB / 0.7133 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008483/0.2128, allocations: 107.7 kB / 0.7134 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2128, allocations: 0 / 0.7134 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.631e-05/0.2129, allocations: 23.94 kB / 0.7134 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2129, allocations: 4 kB / 0.7134 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.2129, allocations: 3.984 kB / 0.7134 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002336/0.2152, allocations: 0.7892 MB / 0.7142 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.2154, allocations: 39.88 kB / 0.7142 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.458e-05/0.2154, allocations: 0 / 0.7142 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006953/0.2161, allocations: 55.98 kB / 0.7142 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.806e-05/0.2162, allocations: 23.92 kB / 0.7143 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.203e-05/0.2163, allocations: 23.94 kB / 0.7143 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.25e-05/0.2163, allocations: 83.28 kB / 0.7144 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.2163, allocations: 4 kB / 0.7144 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003707/0.2167, allocations: 51.92 kB / 0.7144 GB, free: 5.117 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.002747/0.2195, allocations: 1.344 MB / 0.7157 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001431/0.2209, allocations: 427.5 kB / 0.7161 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.2209, allocations: 0 / 0.7161 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007243/0.2216, allocations: 223.6 kB / 0.7164 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.222, allocations: 9.859 kB / 0.7164 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008917/0.2309, allocations: 2.95 MB / 0.7192 GB, free: 72 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.34e-05/0.231, allocations: 83.2 kB / 0.7193 GB, free: 15.97 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000524/0.2315, allocations: 84.67 kB / 0.7194 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003071/0.2318, allocations: 63.3 kB / 0.7195 GB, free: 15.82 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.2318, allocations: 0 / 0.7195 GB, free: 15.82 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02597/0.2578, allocations: 4.966 MB / 0.7243 GB, free: 11.01 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.47, allocations: 14.91 kB / 0.7243 GB, free: 11 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.122213594964705] Failed to read output from testmodel.py, exit status != 0: 11.630398105015047 11.646658819 11.463485192 Calling exit ...