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.007171/0.007171, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.001495/0.001495, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7309/0.7309, allocations: 132.2 MB / 422.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 64.17 kB / 0.5809 GB, free: 1.074 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1647, allocations: 80.21 MB / 0.6592 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002134/0.1669, allocations: 0.7707 MB / 0.66 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002247/0.1692, allocations: 1.481 MB / 0.6614 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.744e-05/0.1692, allocations: 0 / 0.6614 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.619e-05/0.1693, allocations: 3.938 kB / 0.6614 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.969e-05/0.1693, allocations: 3.938 kB / 0.6615 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005988/0.1699, allocations: 158.5 kB / 0.6616 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.564e-05/0.17, allocations: 43.97 kB / 0.6616 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.431e-05/0.1701, allocations: 3.984 kB / 0.6616 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.579e-05/0.1702, allocations: 27.91 kB / 0.6617 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.34e-05/0.1703, allocations: 35.84 kB / 0.6617 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.1703, allocations: 4 kB / 0.6617 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004783/0.1708, allocations: 323.3 kB / 0.662 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.673e-05/0.1708, allocations: 7.984 kB / 0.662 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.636e-05/0.1709, allocations: 31.86 kB / 0.6621 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003763/0.1712, allocations: 214.3 kB / 0.6623 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1713, allocations: 0 / 0.6623 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1713, allocations: 0 / 0.6623 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.1713, allocations: 0 / 0.6623 GB, free: 10.8 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.0007069/0.172, allocations: 400.2 kB / 0.6626 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.172, allocations: 8.031 kB / 0.6627 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.957e-05/0.1721, allocations: 42.73 kB / 0.6627 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004576/0.1726, allocations: 68.77 kB / 0.6628 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.1727, allocations: 172.4 kB / 0.6629 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.1727, allocations: 4.375 kB / 0.6629 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.1728, allocations: 4.375 kB / 0.6629 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003621/0.1731, allocations: 125.6 kB / 0.6631 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.1732, allocations: 0 / 0.6631 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.1732, allocations: 4 kB / 0.6631 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.1732, allocations: 0 / 0.6631 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004401/0.1736, allocations: 107.8 kB / 0.6632 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005907/0.1742, allocations: 332.5 kB / 0.6635 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005906/0.1748, allocations: 162.4 kB / 0.6636 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/0.1751, allocations: 52.81 kB / 0.6637 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.1751, allocations: 3.984 kB / 0.6637 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.1751, allocations: 38.56 kB / 0.6637 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 2.685e-06/0.1751, allocations: 4 kB / 0.6637 GB, free: 9.129 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.01791/0.1931, allocations: 2.834 MB / 0.6665 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.1932, allocations: 55.34 kB / 0.6665 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.1933, allocations: 101.9 kB / 0.6666 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.448e-05/0.1934, allocations: 25.7 kB / 0.6667 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.111e-05/0.1935, allocations: 88.12 kB / 0.6668 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.617e-05/0.1935, allocations: 43.36 kB / 0.6668 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/0.1937, allocations: 69.58 kB / 0.6669 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1939, allocations: 318.8 kB / 0.6672 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006355/0.1945, allocations: 187.8 kB / 0.6673 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006268/0.1951, allocations: 191.8 kB / 0.6675 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.1965, allocations: 396.5 kB / 0.6679 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1965, allocations: 0 / 0.6679 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001526/0.198, allocations: 480.6 kB / 0.6684 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.1981, allocations: 8 kB / 0.6684 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.1981, allocations: 0 / 0.6684 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.1981, allocations: 192 / 0.6684 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000827/0.199, allocations: 107.7 kB / 0.6685 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.497e-06/0.199, allocations: 0 / 0.6685 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005871/0.1996, allocations: 43.94 kB / 0.6685 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-05/0.1997, allocations: 31.92 kB / 0.6685 GB, free: 4.047 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.0001814/0.1998, allocations: 122.5 kB / 0.6687 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.93e-05/0.1999, allocations: 11.84 kB / 0.6687 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.897e-05/0.2, allocations: 7.969 kB / 0.6687 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.2, allocations: 3.938 kB / 0.6687 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.2, allocations: 0 / 0.6687 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2, allocations: 4 kB / 0.6687 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002291/0.2023, allocations: 1.051 MB / 0.6697 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2024, allocations: 0 / 0.6697 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007698/0.2031, allocations: 107.7 kB / 0.6698 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.2031, allocations: 4 kB / 0.6698 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.533e-05/0.2032, allocations: 24.03 kB / 0.6698 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.2032, allocations: 3.938 kB / 0.6698 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2032, allocations: 0 / 0.6698 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002268/0.2055, allocations: 0.7956 MB / 0.6706 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.2056, allocations: 113 kB / 0.6707 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.345e-05/0.2057, allocations: 4 kB / 0.6707 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006447/0.2064, allocations: 51.98 kB / 0.6708 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.886e-05/0.2065, allocations: 23.94 kB / 0.6708 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.19e-05/0.2065, allocations: 31.92 kB / 0.6708 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.682e-05/0.2066, allocations: 75.28 kB / 0.6709 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2066, allocations: 0 / 0.6709 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003745/0.2069, allocations: 56 kB / 0.671 GB, free: 1.402 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.002544/0.2095, allocations: 1.35 MB / 0.6723 GB, free: 28 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001398/0.2109, allocations: 427.5 kB / 0.6727 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.2109, allocations: 0 / 0.6727 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006841/0.2116, allocations: 215.7 kB / 0.6729 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.212, allocations: 8 kB / 0.6729 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008246/0.2202, allocations: 2.946 MB / 0.6758 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.2205, allocations: 0.6962 MB / 0.6765 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000479/0.221, allocations: 88.67 kB / 0.6765 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002708/0.2213, allocations: 63.3 kB / 0.6766 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of SimCode: time 5.2e-07/0.2213, allocations: 0 / 0.6766 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02294/0.2443, allocations: 4.561 MB / 0.6811 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.557/7.801, allocations: 4.484 kB / 0.6811 GB, free: 7.074 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)