Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009194/0.0009194, allocations: 105.5 kB / 18.95 MB, free: 1.191 MB / 13.93 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.000906/0.000906, allocations: 211.4 kB / 22.25 MB, free: 3.578 MB / 13.93 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 0.9924/0.9924, allocations: 230.6 MB / 256 MB, free: 9.633 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.799/0.799, allocations: 203.8 MB / 0.5042 GB, free: 10.48 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",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.0008853/0.0008853, allocations: 70.78 kB / 0.7182 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4961/0.497, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001488/0.4984, allocations: 0.7776 MB / 0.8186 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.4997, allocations: 1.465 MB / 0.82 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.3e-05/0.4998, allocations: 4 kB / 0.82 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.139e-05/0.4998, allocations: 4.5 kB / 0.82 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.753e-05/0.4998, allocations: 4.547 kB / 0.82 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004371/0.5003, allocations: 146.9 kB / 0.8202 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.221e-05/0.5003, allocations: 48.58 kB / 0.8202 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.256e-05/0.5004, allocations: 4.391 kB / 0.8202 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.402e-05/0.5005, allocations: 27.47 kB / 0.8203 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.797e-05/0.5005, allocations: 29.42 kB / 0.8203 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.5005, allocations: 3.75 kB / 0.8203 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003068/0.5008, allocations: 255.7 kB / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.102e-05/0.5009, allocations: 11.3 kB / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.021e-05/0.5009, allocations: 26.48 kB / 0.8206 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.5012, allocations: 201.1 kB / 0.8208 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.5012, allocations: 0.5156 kB / 0.8208 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5012, allocations: 4 kB / 0.8208 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.5012, allocations: 0 / 0.8208 GB, free: 15.26 MB / 0.6198 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.0004743/0.5016, allocations: 326.1 kB / 0.8211 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.5017, allocations: 9.375 kB / 0.8211 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.254e-05/0.5017, allocations: 41.34 kB / 0.8211 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000233/0.5019, allocations: 65.81 kB / 0.8212 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.648e-05/0.502, allocations: 118.7 kB / 0.8213 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.502, allocations: 4.062 kB / 0.8213 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.5021, allocations: 10.94 kB / 0.8213 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.5023, allocations: 165.1 kB / 0.8215 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.5023, allocations: 1.688 kB / 0.8215 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.5023, allocations: 4 kB / 0.8215 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.5023, allocations: 2.203 kB / 0.8215 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002513/0.5026, allocations: 100.1 kB / 0.8216 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000444/0.503, allocations: 294.4 kB / 0.8219 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003631/0.5034, allocations: 163.4 kB / 0.822 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.5035, allocations: 52.84 kB / 0.8221 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.5035, allocations: 5.109 kB / 0.8221 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.5036, allocations: 38.08 kB / 0.8221 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.5036, allocations: 4 kB / 0.8221 GB, free: 14.25 MB / 0.6198 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.009874/0.5134, allocations: 2.681 MB / 0.8247 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.5135, allocations: 58.55 kB / 0.8248 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.374e-05/0.5135, allocations: 105.8 kB / 0.8249 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/0.5136, allocations: 31.11 kB / 0.8249 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.588e-05/0.5136, allocations: 90.8 kB / 0.825 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.206e-05/0.5137, allocations: 34.67 kB / 0.825 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.5138, allocations: 70.61 kB / 0.8251 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.934e-05/0.5139, allocations: 319.1 kB / 0.8254 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004234/0.5143, allocations: 199.9 kB / 0.8256 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000428/0.5147, allocations: 197.1 kB / 0.8258 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008383/0.5156, allocations: 387.6 kB / 0.8262 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.5156, allocations: 4 kB / 0.8262 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009467/0.5165, allocations: 472.7 kB / 0.8266 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.5165, allocations: 5.219 kB / 0.8266 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.5165, allocations: 5.922 kB / 0.8266 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.5166, allocations: 0 / 0.8266 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004324/0.517, allocations: 110.8 kB / 0.8267 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.517, allocations: 0.7031 kB / 0.8267 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002842/0.5173, allocations: 50.81 kB / 0.8268 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.17e-05/0.5173, allocations: 23.06 kB / 0.8268 GB, free: 12.59 MB / 0.6198 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.000106/0.5174, allocations: 115.2 kB / 0.8269 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.786e-05/0.5175, allocations: 7.203 kB / 0.8269 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.756e-05/0.5175, allocations: 13.84 kB / 0.8269 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.5175, allocations: 6.062 kB / 0.8269 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.5175, allocations: 0 / 0.8269 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.5175, allocations: 2.016 kB / 0.8269 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.5189, allocations: 0.9939 MB / 0.8279 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.5189, allocations: 0 / 0.8279 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004084/0.5193, allocations: 110 kB / 0.828 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.5193, allocations: 1.156 kB / 0.828 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.885e-05/0.5194, allocations: 26.75 kB / 0.828 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5194, allocations: 0.75 kB / 0.828 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5194, allocations: 5.719 kB / 0.828 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.5209, allocations: 0.7911 MB / 0.8288 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.5211, allocations: 44.23 kB / 0.8289 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.719e-05/0.5211, allocations: 6.188 kB / 0.8289 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003298/0.5214, allocations: 47.72 kB / 0.8289 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.505e-05/0.5215, allocations: 26.5 kB / 0.8289 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.637e-05/0.5215, allocations: 31.67 kB / 0.829 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.869e-05/0.5216, allocations: 79.73 kB / 0.829 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.5216, allocations: 0.5 kB / 0.829 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002861/0.5219, allocations: 56.69 kB / 0.8291 GB, free: 11.36 MB / 0.6198 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.001632/0.5235, allocations: 1.337 MB / 0.8304 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008724/0.5244, allocations: 418.1 kB / 0.8308 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5244, allocations: 4 kB / 0.8308 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004268/0.5248, allocations: 219.3 kB / 0.831 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.5251, allocations: 8.484 kB / 0.831 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004947/0.53, allocations: 2.948 MB / 0.8339 GB, free: 8.422 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.167e-05/0.5301, allocations: 80.14 kB / 0.834 GB, free: 8.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003036/0.5304, allocations: 95.88 kB / 0.8341 GB, free: 8.277 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/0.5306, allocations: 63.23 kB / 0.8341 GB, free: 8.227 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/0.5306, allocations: 0 / 0.8341 GB, free: 8.227 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0174/0.548, allocations: 5.333 MB / 0.8393 GB, free: 5.121 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.78/7.328, allocations: 11.47 kB / 0.8393 GB, free: 5.113 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --stepSize=0.0012 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.250505570787936] Failed to read output from testmodel.py, exit status != 0: 7.4063975042663515 7.417205597 6.914024111 Calling exit ...