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.001284/0.001284, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001437/0.001437, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.52/1.52, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.8861/0.8861, allocations: 133.9 MB / 443.5 MB, free: 13.74 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.001992/0.001992, allocations: 70.56 kB / 0.6142 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.172, allocations: 85.86 MB / 0.698 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002065/0.1741, allocations: 0.7808 MB / 0.6988 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002168/0.1763, allocations: 1.534 MB / 0.7003 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.237e-05/0.1763, allocations: 3.938 kB / 0.7003 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.783e-05/0.1763, allocations: 3.938 kB / 0.7003 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.973e-05/0.1764, allocations: 5.312 kB / 0.7003 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005599/0.1769, allocations: 156.1 kB / 0.7004 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.177, allocations: 47.09 kB / 0.7005 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.343e-05/0.1771, allocations: 2.75 kB / 0.7005 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.291e-05/0.1772, allocations: 32.27 kB / 0.7005 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.953e-05/0.1772, allocations: 33.47 kB / 0.7005 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.1773, allocations: 4.125 kB / 0.7005 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004688/0.1777, allocations: 318.9 kB / 0.7008 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.988e-05/0.1777, allocations: 7.125 kB / 0.7008 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.384e-05/0.1778, allocations: 29.34 kB / 0.7009 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003464/0.1781, allocations: 217.8 kB / 0.7011 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.1781, allocations: 8 kB / 0.7011 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1781, allocations: 1.062 kB / 0.7011 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.1782, allocations: 0 / 0.7011 GB, free: 11.36 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007477/0.1789, allocations: 402.7 kB / 0.7015 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.1789, allocations: 11.3 kB / 0.7015 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.433e-05/0.179, allocations: 1.875 kB / 0.7015 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.515e-05/0.179, allocations: 36.59 kB / 0.7015 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004672/0.1795, allocations: 69.34 kB / 0.7016 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.1796, allocations: 174.7 kB / 0.7018 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.1797, allocations: 10.59 kB / 0.7018 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.1797, allocations: 5.188 kB / 0.7018 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003871/0.1801, allocations: 114.5 kB / 0.7019 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1801, allocations: 0 / 0.7019 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.1801, allocations: 5.234 kB / 0.7019 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1801, allocations: 5.344 kB / 0.7019 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000504/0.1806, allocations: 103.7 kB / 0.702 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005944/0.1812, allocations: 336.4 kB / 0.7023 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006773/0.1819, allocations: 150.2 kB / 0.7024 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002458/0.1821, allocations: 53.69 kB / 0.7025 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.1822, allocations: 1.375 kB / 0.7025 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.1822, allocations: 35.94 kB / 0.7025 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.1822, allocations: 0 / 0.7025 GB, free: 10.05 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=11): time 0.01904/0.2012, allocations: 2.847 MB / 0.7053 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.2013, allocations: 51.41 kB / 0.7054 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.823e-05/0.2014, allocations: 101.8 kB / 0.7055 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.227e-05/0.2014, allocations: 25.7 kB / 0.7055 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.015e-05/0.2015, allocations: 96.03 kB / 0.7056 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.71e-05/0.2016, allocations: 35.69 kB / 0.7056 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/0.2017, allocations: 73.58 kB / 0.7057 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.2019, allocations: 318.8 kB / 0.706 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007433/0.2026, allocations: 195.7 kB / 0.7062 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000721/0.2034, allocations: 191.8 kB / 0.7064 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/0.2049, allocations: 394.8 kB / 0.7067 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2049, allocations: 0 / 0.7067 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001703/0.2066, allocations: 477.1 kB / 0.7072 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.2066, allocations: 8 kB / 0.7072 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2066, allocations: 4 kB / 0.7072 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.2066, allocations: 7.922 kB / 0.7072 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008374/0.2075, allocations: 103.8 kB / 0.7073 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.2075, allocations: 4 kB / 0.7073 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006222/0.2081, allocations: 47.94 kB / 0.7074 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.996e-05/0.2082, allocations: 23.94 kB / 0.7074 GB, free: 4.961 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 (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.0001868/0.2084, allocations: 114.5 kB / 0.7075 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.358e-05/0.2084, allocations: 7.953 kB / 0.7075 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.271e-05/0.2085, allocations: 19.89 kB / 0.7075 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.2085, allocations: 7.938 kB / 0.7075 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2085, allocations: 0 / 0.7075 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2085, allocations: 0 / 0.7075 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002435/0.211, allocations: 1.039 MB / 0.7085 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.211, allocations: 3.938 kB / 0.7085 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008314/0.2118, allocations: 111.7 kB / 0.7086 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.2118, allocations: 0 / 0.7086 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.507e-05/0.2118, allocations: 19.94 kB / 0.7087 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2118, allocations: 4 kB / 0.7087 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.2119, allocations: 4 kB / 0.7087 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002562/0.2144, allocations: 0.7917 MB / 0.7094 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.2146, allocations: 120.9 kB / 0.7096 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.211e-05/0.2146, allocations: 0 / 0.7096 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000771/0.2154, allocations: 48.12 kB / 0.7096 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.2155, allocations: 27.98 kB / 0.7096 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.308e-05/0.2156, allocations: 31.91 kB / 0.7097 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.135e-05/0.2156, allocations: 83.28 kB / 0.7097 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.2156, allocations: 96 / 0.7097 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004035/0.2161, allocations: 55.88 kB / 0.7098 GB, free: 2.316 MB / 0.5137 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.002997/0.219, allocations: 1.343 MB / 0.7111 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001586/0.2206, allocations: 423.5 kB / 0.7115 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.2206, allocations: 0 / 0.7115 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000763/0.2214, allocations: 219.7 kB / 0.7117 GB, free: 328 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.2219, allocations: 8 kB / 0.7117 GB, free: 320 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009568/0.2314, allocations: 2.947 MB / 0.7146 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.2318, allocations: 0.7006 MB / 0.7153 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005057/0.2323, allocations: 92.66 kB / 0.7154 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003163/0.2326, allocations: 63.3 kB / 0.7154 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of SimCode: time 1.513e-06/0.2326, allocations: 0 / 0.7154 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03231/0.2649, allocations: 4.625 MB / 0.72 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.464/8.729, allocations: 18.41 kB / 0.72 GB, free: 7.93 MB / 0.5294 GB " [Timeout remaining time 651] (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 os._exit(0), Time elapsed: 12.502783078991342] Failed to read output from testmodel.py, exit status != 0: 9.115610596025363 8.869451561 8.688337326 Calling exit ...