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.006049/0.006049, allocations: 102.2 kB / 15.73 MB, free: 6.031 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.001274/0.001274, allocations: 197.6 kB / 16.67 MB, free: 5.969 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7438/0.7438, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 69.12 kB / 0.5809 GB, free: 1.074 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1646, allocations: 80.2 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.002015/0.1667, allocations: 0.7751 MB / 0.66 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002182/0.1689, allocations: 1.484 MB / 0.6614 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.017e-05/0.169, allocations: 0 / 0.6614 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.642e-05/0.1691, allocations: 3.938 kB / 0.6615 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.28e-05/0.1691, allocations: 3.938 kB / 0.6615 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006169/0.1697, allocations: 147.4 kB / 0.6616 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.1699, allocations: 43.97 kB / 0.6616 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.29e-05/0.1699, allocations: 11.97 kB / 0.6616 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.817e-05/0.17, allocations: 27.92 kB / 0.6617 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.809e-05/0.1701, allocations: 31.84 kB / 0.6617 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.1701, allocations: 4 kB / 0.6617 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005159/0.1706, allocations: 323.3 kB / 0.662 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.336e-05/0.1707, allocations: 15.98 kB / 0.662 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.327e-05/0.1707, allocations: 31.84 kB / 0.6621 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003487/0.1711, allocations: 206.4 kB / 0.6623 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1711, allocations: 0 / 0.6623 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.983e-06/0.1711, allocations: 0 / 0.6623 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.1711, allocations: 0 / 0.6623 GB, free: 10.86 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.0006596/0.1718, allocations: 396.2 kB / 0.6626 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.1718, allocations: 12.03 kB / 0.6626 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.665e-05/0.1719, allocations: 38.73 kB / 0.6627 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004535/0.1723, allocations: 72.77 kB / 0.6628 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.1725, allocations: 172.4 kB / 0.6629 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.1725, allocations: 8.312 kB / 0.6629 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.1725, allocations: 12.31 kB / 0.6629 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000358/0.1729, allocations: 113 kB / 0.663 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1729, allocations: 0 / 0.663 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.1729, allocations: 8 kB / 0.6631 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.1729, allocations: 4 kB / 0.6631 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004327/0.1734, allocations: 95.89 kB / 0.6632 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005503/0.1739, allocations: 340.5 kB / 0.6635 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005885/0.1745, allocations: 154.5 kB / 0.6636 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.1748, allocations: 52.81 kB / 0.6637 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.1748, allocations: 7.984 kB / 0.6637 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.1748, allocations: 30.56 kB / 0.6637 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.1748, allocations: 4 kB / 0.6637 GB, free: 9.203 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.01803/0.1929, allocations: 2.842 MB / 0.6665 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.1929, allocations: 59.34 kB / 0.6665 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.921e-05/0.193, allocations: 97.84 kB / 0.6666 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.316e-05/0.1931, allocations: 29.7 kB / 0.6667 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/0.1931, allocations: 88.12 kB / 0.6668 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.842e-05/0.1932, allocations: 47.36 kB / 0.6668 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.1933, allocations: 69.58 kB / 0.6669 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.324e-05/0.1934, allocations: 310.8 kB / 0.6672 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006185/0.1941, allocations: 191.8 kB / 0.6673 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006/0.1947, allocations: 191.8 kB / 0.6675 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.1959, allocations: 392.5 kB / 0.6679 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1959, allocations: 0 / 0.6679 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001437/0.1974, allocations: 479.9 kB / 0.6684 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1974, allocations: 8 kB / 0.6684 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1974, allocations: 4 kB / 0.6684 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1974, allocations: 4 kB / 0.6684 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008161/0.1982, allocations: 107.7 kB / 0.6685 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1983, allocations: 4 kB / 0.6685 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006085/0.1989, allocations: 43.94 kB / 0.6685 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-05/0.1989, allocations: 19.94 kB / 0.6685 GB, free: 4.109 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.0001525/0.1991, allocations: 126.4 kB / 0.6687 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.381e-05/0.1992, allocations: 7.906 kB / 0.6687 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.231e-05/0.1992, allocations: 11.97 kB / 0.6687 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1992, allocations: 7.938 kB / 0.6687 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.1993, allocations: 0 / 0.6687 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1993, allocations: 0 / 0.6687 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001994/0.2013, allocations: 1.047 MB / 0.6697 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2013, allocations: 0 / 0.6697 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007947/0.2021, allocations: 111.7 kB / 0.6698 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.2021, allocations: 4 kB / 0.6698 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.807e-05/0.2021, allocations: 23.94 kB / 0.6698 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2021, allocations: 0 / 0.6698 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2022, allocations: 0 / 0.6698 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002183/0.2043, allocations: 0.7947 MB / 0.6706 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.2045, allocations: 117 kB / 0.6707 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.093e-05/0.2046, allocations: 4 kB / 0.6707 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007153/0.2053, allocations: 51.98 kB / 0.6708 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.668e-05/0.2054, allocations: 19.94 kB / 0.6708 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.423e-05/0.2054, allocations: 31.92 kB / 0.6708 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.319e-05/0.2055, allocations: 79.28 kB / 0.6709 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.292e-06/0.2055, allocations: 96 / 0.6709 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000373/0.2058, allocations: 59.88 kB / 0.671 GB, free: 1.461 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.002487/0.2083, allocations: 1.344 MB / 0.6723 GB, free: 92 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00134/0.2097, allocations: 427.5 kB / 0.6727 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.2097, allocations: 0 / 0.6727 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006638/0.2104, allocations: 227.7 kB / 0.6729 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.2107, allocations: 10.23 kB / 0.6729 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008133/0.2189, allocations: 2.938 MB / 0.6758 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.2192, allocations: 0.6924 MB / 0.6765 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004755/0.2196, allocations: 88.67 kB / 0.6765 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002645/0.2199, allocations: 63.3 kB / 0.6766 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of SimCode: time 6.51e-07/0.2199, allocations: 0 / 0.6766 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/0.2433, allocations: 4.67 MB / 0.6812 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.672/7.915, allocations: 6.891 kB / 0.6812 GB, free: 7.023 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)