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.0008283/0.0008283, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00556/0.005561, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.307/1.307, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7327/0.7327, allocations: 132.3 MB / 423.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004983/0.0004986, allocations: 16 kB / 0.5041 GB, free: 3.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3941, allocations: 81.57 MB / 0.5838 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0007033/0.3949, allocations: 0.5104 MB / 0.5843 GB, free: 3.703 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.3964, allocations: 1.476 MB / 0.5857 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.749e-05/0.3964, allocations: 4.656 kB / 0.5857 GB, free: 2.621 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.262e-05/0.3964, allocations: 0.7031 kB / 0.5857 GB, free: 2.621 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.551e-05/0.3965, allocations: 4.656 kB / 0.5857 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.3968, allocations: 108.4 kB / 0.5858 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.008e-05/0.3969, allocations: 54.83 kB / 0.5859 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.542e-05/0.3969, allocations: 4.234 kB / 0.5859 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.578e-05/0.3969, allocations: 23.91 kB / 0.5859 GB, free: 2.539 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.843e-05/0.397, allocations: 30.42 kB / 0.5859 GB, free: 2.527 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.397, allocations: 3.906 kB / 0.5859 GB, free: 2.527 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004325/0.3975, allocations: 316.3 kB / 0.5862 GB, free: 2.441 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.3975, allocations: 17.78 kB / 0.5862 GB, free: 2.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.3975, allocations: 55.2 kB / 0.5863 GB, free: 2.379 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002844/0.3978, allocations: 208.9 kB / 0.5865 GB, free: 2.324 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.3978, allocations: 3.938 kB / 0.5865 GB, free: 2.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.3978, allocations: 4 kB / 0.5865 GB, free: 2.316 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.455e-06/0.3978, allocations: 1.094 kB / 0.5865 GB, free: 2.316 MB / 430.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.0004533/0.3983, allocations: 389.8 kB / 0.5869 GB, free: 1.934 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.3983, allocations: 9.812 kB / 0.5869 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.374e-05/0.3984, allocations: 37.83 kB / 0.5869 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004632/0.3988, allocations: 93.88 kB / 0.587 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.146e-05/0.3989, allocations: 167.2 kB / 0.5872 GB, free: 1.676 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.3989, allocations: 7.656 kB / 0.5872 GB, free: 1.672 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.3989, allocations: 8.656 kB / 0.5872 GB, free: 1.668 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003737/0.3993, allocations: 128.5 kB / 0.5873 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.3993, allocations: 1.25 kB / 0.5873 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.3993, allocations: 1.281 kB / 0.5873 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3994, allocations: 2.062 kB / 0.5873 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005258/0.3999, allocations: 125 kB / 0.5874 GB, free: 1.59 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/0.4004, allocations: 340.4 kB / 0.5878 GB, free: 1.289 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006945/0.4011, allocations: 183.6 kB / 0.5879 GB, free: 1.238 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/0.4013, allocations: 69.5 kB / 0.588 GB, free: 1.219 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.4014, allocations: 5.234 kB / 0.588 GB, free: 1.215 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/0.4014, allocations: 36.34 kB / 0.588 GB, free: 1.172 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.4014, allocations: 0 / 0.588 GB, free: 1.172 MB / 430.1 MB 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.02025/0.4216, allocations: 3.182 MB / 0.5911 GB, free: 308 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/0.4217, allocations: 60.09 kB / 0.5912 GB, free: 236 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.161e-05/0.4218, allocations: 101.6 kB / 0.5913 GB, free: 132 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.704e-05/0.4218, allocations: 26.83 kB / 0.5913 GB, free: 100 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.548e-05/0.4218, allocations: 96.69 kB / 0.5914 GB, free: 4 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.471e-05/0.4219, allocations: 42.7 kB / 0.5915 GB, free: 15.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.47e-05/0.422, allocations: 18.61 kB / 0.5915 GB, free: 15.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.105e-05/0.4221, allocations: 318.2 kB / 0.5918 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007632/0.4229, allocations: 214.5 kB / 0.592 GB, free: 15.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007337/0.4236, allocations: 223.5 kB / 0.5922 GB, free: 15.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001519/0.4252, allocations: 444.5 kB / 0.5926 GB, free: 15.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.4252, allocations: 0 / 0.5926 GB, free: 15.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001699/0.4269, allocations: 0.5151 MB / 0.5931 GB, free: 15.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.4269, allocations: 9.5 kB / 0.5931 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.4269, allocations: 0.8438 kB / 0.5931 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.4269, allocations: 4.469 kB / 0.5931 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008899/0.4278, allocations: 122.4 kB / 0.5932 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.4278, allocations: 1.672 kB / 0.5932 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006782/0.4285, allocations: 60.36 kB / 0.5933 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/0.4286, allocations: 28.31 kB / 0.5933 GB, free: 15.26 MB / 446.1 MB 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.0001498/0.4288, allocations: 118.8 kB / 0.5934 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.829e-05/0.4288, allocations: 3.844 kB / 0.5935 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.031e-05/0.4289, allocations: 11.97 kB / 0.5935 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.4289, allocations: 5.219 kB / 0.5935 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4289, allocations: 1 kB / 0.5935 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4289, allocations: 0 / 0.5935 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002208/0.4311, allocations: 1.096 MB / 0.5945 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.4311, allocations: 0 / 0.5945 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008525/0.432, allocations: 120.7 kB / 0.5947 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.432, allocations: 0 / 0.5947 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.138e-05/0.4321, allocations: 25.39 kB / 0.5947 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.4321, allocations: 5.781 kB / 0.5947 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.4321, allocations: 0 / 0.5947 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002428/0.4345, allocations: 0.8647 MB / 0.5955 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.4347, allocations: 123.7 kB / 0.5956 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.319e-05/0.4347, allocations: 9.391 kB / 0.5957 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007497/0.4355, allocations: 65.56 kB / 0.5957 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.766e-05/0.4356, allocations: 25.86 kB / 0.5957 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-05/0.4357, allocations: 26.91 kB / 0.5958 GB, free: 13.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.905e-05/0.4357, allocations: 87.48 kB / 0.5959 GB, free: 13.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4357, allocations: 0 / 0.5959 GB, free: 13.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003759/0.4361, allocations: 50.12 kB / 0.5959 GB, free: 13.35 MB / 446.1 MB 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.002756/0.4389, allocations: 1.418 MB / 0.5973 GB, free: 12.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001524/0.4404, allocations: 483.5 kB / 0.5977 GB, free: 12.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.4404, allocations: 0.9688 kB / 0.5977 GB, free: 12.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007551/0.4412, allocations: 251.6 kB / 0.598 GB, free: 11.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.4415, allocations: 12.05 kB / 0.598 GB, free: 11.97 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008853/0.4504, allocations: 3.166 MB / 0.6011 GB, free: 9.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.4506, allocations: 0.6949 MB / 0.6018 GB, free: 9.062 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006702/0.4513, allocations: 92.84 kB / 0.6019 GB, free: 9.004 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/0.4516, allocations: 63.48 kB / 0.6019 GB, free: 8.953 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4516, allocations: 3.938 kB / 0.6019 GB, free: 8.949 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2188/0.6704, allocations: 4.217 MB / 0.606 GB, free: 6.844 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/0.6706, allocations: 212.7 kB / 0.6062 GB, free: 6.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.897/2.567, allocations: 0 / 0.6062 GB, free: 6.59 MB / 446.1 MB (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)