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.005456/0.005456, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.002212/0.002212, allocations: 195.6 kB / 16.67 MB, free: 5.977 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9544/0.9544, allocations: 135.1 MB / 425.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 59.91 kB / 0.5852 GB, free: 3.812 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4391/0.4404, allocations: 80.91 MB / 0.6642 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001805/0.4422, allocations: 0.7823 MB / 0.665 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.4438, allocations: 1.479 MB / 0.6664 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.667e-05/0.4439, allocations: 0 / 0.6664 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.879e-05/0.4439, allocations: 3.984 kB / 0.6664 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.798e-05/0.444, allocations: 5.062 kB / 0.6664 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004626/0.4444, allocations: 148.9 kB / 0.6666 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.914e-05/0.4445, allocations: 59.14 kB / 0.6666 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.989e-05/0.4445, allocations: 4.062 kB / 0.6666 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.004e-05/0.4446, allocations: 26.34 kB / 0.6666 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.34e-05/0.4447, allocations: 29.94 kB / 0.6667 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.4447, allocations: 4.156 kB / 0.6667 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003734/0.4451, allocations: 323.8 kB / 0.667 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.846e-05/0.4451, allocations: 14.55 kB / 0.667 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.308e-05/0.4451, allocations: 25.17 kB / 0.667 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.4455, allocations: 205.9 kB / 0.6672 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.4455, allocations: 5.188 kB / 0.6672 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.263e-06/0.4455, allocations: 0 / 0.6672 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.4455, allocations: 3.938 kB / 0.6672 GB, free: 5.207 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.0005152/0.446, allocations: 410.1 kB / 0.6676 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.446, allocations: 10.28 kB / 0.6676 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.569e-05/0.4461, allocations: 37.09 kB / 0.6677 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004012/0.4465, allocations: 73.28 kB / 0.6677 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.501e-05/0.4466, allocations: 170.4 kB / 0.6679 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.4466, allocations: 7.375 kB / 0.6679 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.4466, allocations: 9.125 kB / 0.6679 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003153/0.447, allocations: 113.9 kB / 0.668 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.447, allocations: 0 / 0.668 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.447, allocations: 1.031 kB / 0.668 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.447, allocations: 1.344 kB / 0.668 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000414/0.4474, allocations: 103.2 kB / 0.6681 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004583/0.4479, allocations: 329.8 kB / 0.6684 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005414/0.4484, allocations: 159.9 kB / 0.6686 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.4487, allocations: 58.03 kB / 0.6686 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.4487, allocations: 1.344 kB / 0.6686 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.4487, allocations: 35.88 kB / 0.6687 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.4487, allocations: 0 / 0.6687 GB, free: 3.895 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.01683/0.4655, allocations: 2.838 MB / 0.6715 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.4656, allocations: 56.47 kB / 0.6715 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.673e-05/0.4657, allocations: 107 kB / 0.6716 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/0.4657, allocations: 26.83 kB / 0.6716 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.032e-05/0.4657, allocations: 86.27 kB / 0.6717 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.917e-05/0.4658, allocations: 39.48 kB / 0.6718 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.466, allocations: 69.3 kB / 0.6718 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.214e-05/0.466, allocations: 321.8 kB / 0.6721 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005777/0.4666, allocations: 187.4 kB / 0.6723 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005803/0.4672, allocations: 193.6 kB / 0.6725 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.4684, allocations: 401.8 kB / 0.6729 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4684, allocations: 0 / 0.6729 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001363/0.4697, allocations: 475 kB / 0.6733 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.4698, allocations: 5.875 kB / 0.6733 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.4698, allocations: 0 / 0.6733 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.4698, allocations: 5.094 kB / 0.6733 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007667/0.4706, allocations: 109.7 kB / 0.6734 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.4706, allocations: 0 / 0.6734 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005581/0.4711, allocations: 46.81 kB / 0.6735 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.248e-05/0.4712, allocations: 33.36 kB / 0.6735 GB, free: 0.75 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.0001078/0.4713, allocations: 113.6 kB / 0.6736 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.515e-05/0.4714, allocations: 11 kB / 0.6736 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.036e-05/0.4715, allocations: 17.09 kB / 0.6737 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4715, allocations: 5.594 kB / 0.6737 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4715, allocations: 0 / 0.6737 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.4715, allocations: 3.984 kB / 0.6737 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001966/0.4735, allocations: 1.049 MB / 0.6747 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.4735, allocations: 0 / 0.6747 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008186/0.4743, allocations: 109.2 kB / 0.6748 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.4743, allocations: 1.281 kB / 0.6748 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.654e-05/0.4744, allocations: 23.83 kB / 0.6748 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.4744, allocations: 1.531 kB / 0.6748 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.4744, allocations: 4 kB / 0.6748 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002133/0.4765, allocations: 0.7901 MB / 0.6756 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.4767, allocations: 124.1 kB / 0.6757 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.125e-05/0.4767, allocations: 0.8438 kB / 0.6757 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006153/0.4774, allocations: 47.19 kB / 0.6758 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.4775, allocations: 26.05 kB / 0.6758 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.529e-05/0.4775, allocations: 26.66 kB / 0.6758 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.149e-05/0.4776, allocations: 82.69 kB / 0.6759 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4776, allocations: 0 / 0.6759 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003583/0.4779, allocations: 54.39 kB / 0.6759 GB, free: 14.86 MB / 0.5137 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.002447/0.4804, allocations: 1.349 MB / 0.6773 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001343/0.4818, allocations: 424.4 kB / 0.6777 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4818, allocations: 0 / 0.6777 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006672/0.4824, allocations: 225.4 kB / 0.6779 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.4828, allocations: 9.578 kB / 0.6779 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007889/0.4907, allocations: 2.941 MB / 0.6808 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.491, allocations: 0.6917 MB / 0.6814 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004572/0.4914, allocations: 90.92 kB / 0.6815 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/0.4917, allocations: 63.58 kB / 0.6816 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.4917, allocations: 0 / 0.6816 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02316/0.5149, allocations: 4.573 MB / 0.686 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.536/8.051, allocations: 13.34 kB / 0.6861 GB, free: 8.09 MB / 0.5137 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/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)