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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9856/0.9856, allocations: 175.7 MB / 480.1 MB, free: 3.156 MB / 366.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 62.28 kB / 0.6678 GB, free: 10.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1579, allocations: 94.53 MB / 0.7601 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001983/0.1599, allocations: 0.8016 MB / 0.7609 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001956/0.1619, allocations: 1.491 MB / 0.7624 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.337e-05/0.1619, allocations: 0 / 0.7624 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.629e-05/0.1619, allocations: 3.938 kB / 0.7624 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.943e-05/0.162, allocations: 7.938 kB / 0.7624 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004598/0.1624, allocations: 143.5 kB / 0.7625 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.949e-05/0.1625, allocations: 55.88 kB / 0.7626 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.733e-05/0.1626, allocations: 7.938 kB / 0.7626 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.015e-05/0.1626, allocations: 19.92 kB / 0.7626 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.229e-05/0.1627, allocations: 35.89 kB / 0.7626 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.1627, allocations: 4 kB / 0.7626 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004831/0.1632, allocations: 319.4 kB / 0.7629 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.362e-05/0.1632, allocations: 19.91 kB / 0.763 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.632e-05/0.1632, allocations: 23.86 kB / 0.763 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.1636, allocations: 211.3 kB / 0.7632 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1636, allocations: 4 kB / 0.7632 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1636, allocations: 0 / 0.7632 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.1636, allocations: 0 / 0.7632 GB, free: 13.64 MB / 0.5762 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.0006488/0.1642, allocations: 402.9 kB / 0.7636 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.1643, allocations: 8.031 kB / 0.7636 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.937e-05/0.1643, allocations: 42.73 kB / 0.7636 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004242/0.1647, allocations: 72.8 kB / 0.7637 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.1649, allocations: 172.3 kB / 0.7638 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.1649, allocations: 8.375 kB / 0.7639 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.1649, allocations: 8.375 kB / 0.7639 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.1653, allocations: 113.7 kB / 0.764 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.1653, allocations: 4 kB / 0.764 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.1653, allocations: 0 / 0.764 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1653, allocations: 0 / 0.764 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004695/0.1658, allocations: 103.9 kB / 0.7641 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005857/0.1664, allocations: 332.7 kB / 0.7644 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006575/0.167, allocations: 154.4 kB / 0.7645 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/0.1673, allocations: 60.8 kB / 0.7646 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.1673, allocations: 0 / 0.7646 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.1673, allocations: 30.56 kB / 0.7646 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 8.02e-07/0.1673, allocations: 0 / 0.7646 GB, free: 11.98 MB / 0.5762 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.01765/0.1849, allocations: 2.842 MB / 0.7674 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.185, allocations: 59.28 kB / 0.7675 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.24e-05/0.1851, allocations: 97.86 kB / 0.7676 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.753e-05/0.1851, allocations: 29.7 kB / 0.7676 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.795e-05/0.1852, allocations: 88.12 kB / 0.7677 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.985e-05/0.1852, allocations: 39.64 kB / 0.7677 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.1854, allocations: 69.58 kB / 0.7678 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1855, allocations: 314.9 kB / 0.7681 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007169/0.1863, allocations: 199.7 kB / 0.7683 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007221/0.187, allocations: 191.9 kB / 0.7684 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/0.1883, allocations: 400.2 kB / 0.7688 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1883, allocations: 0 / 0.7688 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00156/0.1899, allocations: 481.1 kB / 0.7693 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.1899, allocations: 8 kB / 0.7693 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1899, allocations: 3.938 kB / 0.7693 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1899, allocations: 0 / 0.7693 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000819/0.1907, allocations: 107.7 kB / 0.7694 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.1907, allocations: 4.469 kB / 0.7694 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005981/0.1913, allocations: 43.94 kB / 0.7694 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-05/0.1914, allocations: 27.92 kB / 0.7695 GB, free: 6.875 MB / 0.5762 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.000146/0.1915, allocations: 113.8 kB / 0.7696 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.535e-05/0.1916, allocations: 4 kB / 0.7696 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.673e-05/0.1917, allocations: 15.97 kB / 0.7696 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1917, allocations: 3.938 kB / 0.7696 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1917, allocations: 0 / 0.7696 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.1917, allocations: 3.938 kB / 0.7696 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002285/0.194, allocations: 1.055 MB / 0.7706 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.194, allocations: 4 kB / 0.7706 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008258/0.1948, allocations: 111.7 kB / 0.7707 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1948, allocations: 0 / 0.7707 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-05/0.1948, allocations: 19.94 kB / 0.7708 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.1948, allocations: 11.92 kB / 0.7708 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1948, allocations: 4 kB / 0.7708 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002338/0.1972, allocations: 0.7803 MB / 0.7715 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.1973, allocations: 117 kB / 0.7717 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.053e-05/0.1974, allocations: 11.97 kB / 0.7717 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00066/0.198, allocations: 43.94 kB / 0.7717 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.94e-05/0.1981, allocations: 31.92 kB / 0.7717 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.144e-05/0.1982, allocations: 23.94 kB / 0.7718 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.791e-05/0.1982, allocations: 79.28 kB / 0.7718 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1982, allocations: 3.938 kB / 0.7718 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003587/0.1986, allocations: 55.94 kB / 0.7719 GB, free: 4.227 MB / 0.5762 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.002716/0.2013, allocations: 1.344 MB / 0.7732 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001454/0.2028, allocations: 423.5 kB / 0.7736 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2028, allocations: 4 kB / 0.7736 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007183/0.2035, allocations: 219.7 kB / 0.7738 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.2038, allocations: 17.47 kB / 0.7738 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008562/0.2124, allocations: 2.936 MB / 0.7767 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.2127, allocations: 0.6924 MB / 0.7774 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004658/0.2132, allocations: 92.67 kB / 0.7775 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000276/0.2134, allocations: 63.3 kB / 0.7775 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of SimCode: time 3.41e-07/0.2135, allocations: 3.938 kB / 0.7775 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02685/0.2403, allocations: 4.605 MB / 0.782 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.207/7.448, allocations: 7.938 kB / 0.782 GB, free: 9.785 MB / 0.5919 GB " [Timeout remaining time 652] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.82765943800041]