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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000959/0.0009592, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7356/0.7356, allocations: 133.6 MB / 141.6 MB, free: 2.914 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 221.5 MB / 395.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009138/0.0009133, allocations: 99.56 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.126e-05/2.128e-05, allocations: 4.219 kB / 0.5536 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5352/0.5352, allocations: 82.3 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1537/0.689, allocations: 112.1 MB / 0.7434 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.6893, allocations: 79.95 kB / 0.7435 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01693/0.7062, allocations: 5.5 MB / 0.7489 GB, free: 5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7063, allocations: 0 / 0.7489 GB, free: 5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.7063, allocations: 0 / 0.7489 GB, free: 5 MB / 0.5261 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.0005805/0.7069, allocations: 402.1 kB / 0.7492 GB, free: 4.562 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.707, allocations: 16.03 kB / 0.7493 GB, free: 4.547 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004048/0.7074, allocations: 59.94 kB / 0.7493 GB, free: 4.488 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.7075, allocations: 182.9 kB / 0.7495 GB, free: 4.27 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.7076, allocations: 4 kB / 0.7495 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.7076, allocations: 4 kB / 0.7495 GB, free: 4.262 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001131/0.7077, allocations: 28 kB / 0.7495 GB, free: 4.234 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.7079, allocations: 69.66 kB / 0.7496 GB, free: 4.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.7079, allocations: 3.984 kB / 0.7496 GB, free: 4.156 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.7079, allocations: 4 kB / 0.7496 GB, free: 4.152 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.7079, allocations: 0 / 0.7496 GB, free: 4.152 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005995/0.7085, allocations: 313.1 kB / 0.7499 GB, free: 3.809 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.7087, allocations: 62.56 kB / 0.75 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.435e-05/0.7088, allocations: 29.02 kB / 0.75 GB, free: 3.707 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.7088, allocations: 3.984 kB / 0.75 GB, free: 3.703 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.7088, allocations: 34.56 kB / 0.75 GB, free: 3.66 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.704e-06/0.7088, allocations: 0 / 0.75 GB, free: 3.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.01315/0.722, allocations: 2.108 MB / 0.7521 GB, free: 1.457 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.7221, allocations: 55.41 kB / 0.7521 GB, free: 1.391 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.442e-05/0.7222, allocations: 93 kB / 0.7522 GB, free: 1.293 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.612e-05/0.7222, allocations: 25.7 kB / 0.7523 GB, free: 1.262 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/0.7223, allocations: 88.03 kB / 0.7523 GB, free: 1.172 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.256e-05/0.7224, allocations: 35.55 kB / 0.7524 GB, free: 1.137 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.7224, allocations: 11.94 kB / 0.7524 GB, free: 1.125 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.7225, allocations: 314.8 kB / 0.7527 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.7227, allocations: 111.9 kB / 0.7528 GB, free: 0.6992 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.7229, allocations: 115.9 kB / 0.7529 GB, free: 0.5859 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003389/0.7233, allocations: 134.8 kB / 0.753 GB, free: 468 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.7233, allocations: 0 / 0.753 GB, free: 468 kB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000699/0.724, allocations: 333.4 kB / 0.7533 GB, free: 128 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.724, allocations: 9.875 kB / 0.7534 GB, free: 120 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.7241, allocations: 0 / 0.7534 GB, free: 120 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.7241, allocations: 0 / 0.7534 GB, free: 120 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008342/0.7249, allocations: 119.8 kB / 0.7535 GB, free: 0 / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.7249, allocations: 0 / 0.7535 GB, free: 0 / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006248/0.7256, allocations: 59.94 kB / 0.7535 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/0.7256, allocations: 32.11 kB / 0.7536 GB, free: 15.91 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001444/0.7258, allocations: 104.9 kB / 0.7537 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007101/0.7265, allocations: 333.4 kB / 0.754 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.881e-05/0.7266, allocations: 3.906 kB / 0.754 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.092e-05/0.7266, allocations: 24.33 kB / 0.754 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.7266, allocations: 0 / 0.754 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.7266, allocations: 0 / 0.754 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.7267, allocations: 0 / 0.754 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/0.728, allocations: 0.8808 MB / 0.7549 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.728, allocations: 8 kB / 0.7549 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008271/0.7288, allocations: 119.8 kB / 0.755 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.7289, allocations: 0 / 0.755 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.322e-05/0.7289, allocations: 23.92 kB / 0.755 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.7289, allocations: 0 / 0.755 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.7289, allocations: 0 / 0.755 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.73, allocations: 0.5732 MB / 0.7556 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.7302, allocations: 125 kB / 0.7557 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.937e-05/0.7303, allocations: 0 / 0.7557 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006761/0.731, allocations: 59.94 kB / 0.7557 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.7311, allocations: 27.92 kB / 0.7558 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.635e-05/0.7311, allocations: 27.92 kB / 0.7558 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.422e-05/0.7312, allocations: 79.28 kB / 0.7559 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7312, allocations: 0 / 0.7559 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004004/0.7316, allocations: 55.94 kB / 0.7559 GB, free: 13.33 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001468/0.7331, allocations: 1.13 MB / 0.757 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005261/0.7336, allocations: 259.8 kB / 0.7573 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.7336, allocations: 0 / 0.7573 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000254/0.7339, allocations: 147.8 kB / 0.7574 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.7341, allocations: 7.938 kB / 0.7574 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003884/0.738, allocations: 0.7277 MB / 0.7581 GB, free: 11 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.7383, allocations: 0.6963 MB / 0.7588 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000662/0.739, allocations: 88.66 kB / 0.7589 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002956/0.7393, allocations: 71.3 kB / 0.759 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of SimCode: time 6.92e-07/0.7393, allocations: 3.938 kB / 0.759 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02373/0.7631, allocations: 3.754 MB / 0.7626 GB, free: 6.375 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004547/0.7636, allocations: 162.2 kB / 0.7628 GB, free: 6.176 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.558/2.322, allocations: 3.938 kB / 0.7628 GB, free: 6.172 MB / 0.5417 GB (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/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --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)