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.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 86.56 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009088/0.0009088, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 223.2 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9282/0.9282, allocations: 135.3 MB / 426.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003394/0.0003394, allocations: 8.969 kB / 0.5071 GB, free: 5.008 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.148, allocations: 82.32 MB / 0.5875 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0009973/0.149, allocations: 488.1 kB / 0.588 GB, free: 2.379 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.1511, allocations: 1.406 MB / 0.5893 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.285e-05/0.1511, allocations: 0 / 0.5893 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.1512, allocations: 0 / 0.5893 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.982e-05/0.1512, allocations: 3.938 kB / 0.5893 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005327/0.1518, allocations: 111.7 kB / 0.5894 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.663e-05/0.1518, allocations: 47.88 kB / 0.5895 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.293e-05/0.1519, allocations: 4 kB / 0.5895 GB, free: 0.793 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.346e-05/0.152, allocations: 23.92 kB / 0.5895 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.524e-05/0.1521, allocations: 31.89 kB / 0.5895 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.1521, allocations: 8 kB / 0.5896 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004932/0.1526, allocations: 311.3 kB / 0.5898 GB, free: 436 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.527e-05/0.1526, allocations: 11.97 kB / 0.5899 GB, free: 424 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.142e-05/0.1527, allocations: 29.7 kB / 0.5899 GB, free: 388 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.1529, allocations: 148.1 kB / 0.59 GB, free: 240 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1529, allocations: 3.938 kB / 0.59 GB, free: 236 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.153, allocations: 0 / 0.59 GB, free: 236 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.153, allocations: 3.938 kB / 0.59 GB, free: 232 kB / 494.1 MB 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.0006071/0.1536, allocations: 391.2 kB / 0.5904 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.1536, allocations: 8.031 kB / 0.5904 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.145e-05/0.1537, allocations: 42.55 kB / 0.5905 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004293/0.1541, allocations: 87.81 kB / 0.5905 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.1542, allocations: 171 kB / 0.5907 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/0.1543, allocations: 8 kB / 0.5907 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.1543, allocations: 11.94 kB / 0.5907 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000344/0.1547, allocations: 117.6 kB / 0.5908 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.1547, allocations: 3.938 kB / 0.5908 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.1547, allocations: 0 / 0.5908 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.1547, allocations: 4 kB / 0.5908 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004407/0.1552, allocations: 123.9 kB / 0.591 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005465/0.1557, allocations: 348.5 kB / 0.5913 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005944/0.1563, allocations: 178.4 kB / 0.5915 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002223/0.1566, allocations: 72.8 kB / 0.5915 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.1566, allocations: 0 / 0.5915 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.1566, allocations: 38.56 kB / 0.5916 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.1566, allocations: 0 / 0.5916 GB, free: 14.48 MB / 0.4981 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.01654/0.1732, allocations: 3.18 MB / 0.5947 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.1733, allocations: 55.41 kB / 0.5947 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.613e-05/0.1733, allocations: 101.8 kB / 0.5948 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.013e-05/0.1734, allocations: 29.7 kB / 0.5949 GB, free: 11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.164e-05/0.1735, allocations: 91.98 kB / 0.5949 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.157e-05/0.1735, allocations: 39.45 kB / 0.595 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.1736, allocations: 0 / 0.595 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.296e-05/0.1737, allocations: 318.8 kB / 0.5953 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006516/0.1743, allocations: 215.8 kB / 0.5955 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006118/0.175, allocations: 215.8 kB / 0.5957 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006416/0.1756, allocations: 219.7 kB / 0.5959 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1756, allocations: 4 kB / 0.5959 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001506/0.1771, allocations: 0.513 MB / 0.5964 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.1772, allocations: 10.45 kB / 0.5964 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.1772, allocations: 4 kB / 0.5964 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.1772, allocations: 4.188 kB / 0.5964 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007799/0.178, allocations: 119.7 kB / 0.5965 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.178, allocations: 3.984 kB / 0.5965 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005545/0.1786, allocations: 59.94 kB / 0.5966 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.754e-05/0.1786, allocations: 24.95 kB / 0.5966 GB, free: 9.168 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001416/0.1788, allocations: 113.8 kB / 0.5967 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.384e-05/0.1789, allocations: 11.83 kB / 0.5967 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.945e-05/0.1789, allocations: 23.91 kB / 0.5968 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1789, allocations: 0 / 0.5968 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.179, allocations: 4 kB / 0.5968 GB, free: 9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.179, allocations: 96 / 0.5968 GB, free: 9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/0.1811, allocations: 1.109 MB / 0.5979 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.1811, allocations: 0 / 0.5979 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007657/0.1819, allocations: 119.8 kB / 0.598 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.1819, allocations: 0 / 0.598 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.535e-05/0.182, allocations: 23.94 kB / 0.598 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.182, allocations: 4 kB / 0.598 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.182, allocations: 3.938 kB / 0.598 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002213/0.1842, allocations: 0.8657 MB / 0.5988 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.1843, allocations: 120.9 kB / 0.599 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.64e-05/0.1844, allocations: 8 kB / 0.599 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006047/0.185, allocations: 60 kB / 0.599 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.526e-05/0.1851, allocations: 27.92 kB / 0.5991 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.808e-05/0.1852, allocations: 31.92 kB / 0.5991 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.611e-05/0.1852, allocations: 79.28 kB / 0.5992 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1852, allocations: 0 / 0.5992 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000384/0.1856, allocations: 52 kB / 0.5992 GB, free: 6.363 MB / 0.4981 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 (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.002536/0.1882, allocations: 1.415 MB / 0.6006 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001403/0.1896, allocations: 471.6 kB / 0.601 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1896, allocations: 3.938 kB / 0.601 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007124/0.1903, allocations: 251.7 kB / 0.6013 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.1907, allocations: 8 kB / 0.6013 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006363/0.197, allocations: 1.853 MB / 0.6031 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.1973, allocations: 0.6926 MB / 0.6038 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007378/0.1981, allocations: 92.66 kB / 0.6039 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002821/0.1983, allocations: 71.3 kB / 0.6039 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of SimCode: time 7.41e-07/0.1984, allocations: 0 / 0.6039 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2659/0.4643, allocations: 4.137 MB / 0.608 GB, free: 49.46 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001587/0.4645, allocations: 199.8 kB / 0.6082 GB, free: 49.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/2.236, allocations: 3.938 kB / 0.6082 GB, free: 49.23 MB / 0.4981 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) Environment - environmentSimulation: