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.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/package.mo", uses=false) 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.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_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_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.005775/0.005782, allocations: 99.56 kB / 15.73 MB, free: 6.039 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.001416/0.001416, allocations: 195.2 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8148/0.8148, allocations: 132.2 MB / 422.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 66.25 kB / 0.5809 GB, free: 1.102 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1548, allocations: 80.21 MB / 0.6592 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001981/0.1568, allocations: 0.7775 MB / 0.66 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002059/0.1589, allocations: 1.484 MB / 0.6615 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.601e-05/0.159, allocations: 0 / 0.6615 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.961e-05/0.159, allocations: 3.938 kB / 0.6615 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.354e-05/0.1591, allocations: 3.938 kB / 0.6615 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005048/0.1596, allocations: 149.6 kB / 0.6616 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.801e-05/0.1597, allocations: 39.97 kB / 0.6616 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.662e-05/0.1597, allocations: 4 kB / 0.6616 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.529e-05/0.1598, allocations: 31.91 kB / 0.6617 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.073e-05/0.1599, allocations: 43.77 kB / 0.6617 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.1599, allocations: 4 kB / 0.6617 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005005/0.1604, allocations: 319.3 kB / 0.662 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.043e-05/0.1604, allocations: 11.98 kB / 0.662 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.084e-05/0.1605, allocations: 27.86 kB / 0.6621 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003464/0.1608, allocations: 211.6 kB / 0.6623 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1609, allocations: 4 kB / 0.6623 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1609, allocations: 0 / 0.6623 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.369e-06/0.1609, allocations: 0 / 0.6623 GB, free: 10.85 MB / 0.4981 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.0007242/0.1616, allocations: 402.9 kB / 0.6627 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1616, allocations: 8.031 kB / 0.6627 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.758e-05/0.1617, allocations: 38.75 kB / 0.6627 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004468/0.1622, allocations: 72.8 kB / 0.6628 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.1623, allocations: 176.2 kB / 0.6629 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.1623, allocations: 8.375 kB / 0.6629 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.1624, allocations: 4.375 kB / 0.6629 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003984/0.1628, allocations: 121.7 kB / 0.6631 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.1628, allocations: 3.953 kB / 0.6631 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.1628, allocations: 4 kB / 0.6631 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1628, allocations: 0 / 0.6631 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005101/0.1633, allocations: 103.9 kB / 0.6632 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005948/0.1639, allocations: 328.7 kB / 0.6635 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006794/0.1646, allocations: 158.4 kB / 0.6636 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002493/0.1649, allocations: 52.81 kB / 0.6637 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.1649, allocations: 160 / 0.6637 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.165, allocations: 34.56 kB / 0.6637 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 9.61e-07/0.165, allocations: 3.938 kB / 0.6637 GB, free: 9.191 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.01892/0.1839, allocations: 2.838 MB / 0.6665 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.184, allocations: 59.33 kB / 0.6665 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.554e-05/0.1841, allocations: 105.9 kB / 0.6666 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.553e-05/0.1841, allocations: 29.7 kB / 0.6667 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.513e-05/0.1842, allocations: 92.02 kB / 0.6668 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.66e-05/0.1843, allocations: 35.66 kB / 0.6668 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.1844, allocations: 69.58 kB / 0.6669 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1846, allocations: 322.8 kB / 0.6672 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007436/0.1853, allocations: 191.8 kB / 0.6674 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007278/0.1861, allocations: 195.8 kB / 0.6675 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/0.1875, allocations: 390.5 kB / 0.6679 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.1875, allocations: 0 / 0.6679 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00174/0.1893, allocations: 485.2 kB / 0.6684 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1893, allocations: 7.984 kB / 0.6684 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1893, allocations: 0 / 0.6684 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1894, allocations: 0 / 0.6684 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008769/0.1902, allocations: 111.7 kB / 0.6685 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.1902, allocations: 0 / 0.6685 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006312/0.1909, allocations: 47.94 kB / 0.6685 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-05/0.191, allocations: 23.94 kB / 0.6686 GB, free: 4.086 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001684/0.1911, allocations: 118.4 kB / 0.6687 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.634e-05/0.1912, allocations: 0 / 0.6687 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.358e-05/0.1913, allocations: 19.95 kB / 0.6687 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1913, allocations: 3.938 kB / 0.6687 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1913, allocations: 0 / 0.6687 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1913, allocations: 0 / 0.6687 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002431/0.1938, allocations: 1.051 MB / 0.6697 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.1938, allocations: 4.172 kB / 0.6697 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008489/0.1946, allocations: 111.7 kB / 0.6698 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.1946, allocations: 0 / 0.6698 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.098e-05/0.1947, allocations: 27.92 kB / 0.6699 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1947, allocations: 0 / 0.6699 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1947, allocations: 0 / 0.6699 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002545/0.1973, allocations: 0.7879 MB / 0.6706 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.1974, allocations: 120.9 kB / 0.6707 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.189e-05/0.1975, allocations: 0 / 0.6707 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006896/0.1982, allocations: 52 kB / 0.6708 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.1983, allocations: 31.86 kB / 0.6708 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-05/0.1984, allocations: 24.02 kB / 0.6708 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.024e-05/0.1985, allocations: 87.22 kB / 0.6709 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.1985, allocations: 0 / 0.6709 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003633/0.1988, allocations: 55.94 kB / 0.671 GB, free: 1.438 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 (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.002919/0.2018, allocations: 1.347 MB / 0.6723 GB, free: 72 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00157/0.2034, allocations: 419.5 kB / 0.6727 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2034, allocations: 0 / 0.6727 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007871/0.2042, allocations: 231.7 kB / 0.6729 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.2045, allocations: 11.94 kB / 0.6729 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009098/0.2136, allocations: 2.942 MB / 0.6758 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.214, allocations: 0.6846 MB / 0.6765 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005481/0.2145, allocations: 93.67 kB / 0.6766 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002909/0.2148, allocations: 63.3 kB / 0.6766 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of SimCode: time 4.11e-07/0.2149, allocations: 4 kB / 0.6766 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3565/0.5713, allocations: 4.565 MB / 0.6811 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.526/9.097, allocations: 2.891 kB / 0.6811 GB, free: 7.105 MB / 0.5137 GB (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 --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)