Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.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.001163/0.001163, allocations: 108.2 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.001133/0.001133, allocations: 186.7 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.287/1.287, allocations: 225.6 MB / 249.3 MB, free: 3.176 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.987/0.987, allocations: 175.7 MB / 480.1 MB, free: 2.75 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.InverseXRegularized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 73.22 kB / 0.6678 GB, free: 11.01 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1562, allocations: 94.53 MB / 0.7601 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001612/0.1578, allocations: 0.6418 MB / 0.7608 GB, free: 124 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001813/0.1596, allocations: 1.465 MB / 0.7622 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.969e-05/0.1597, allocations: 0 / 0.7622 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.547e-05/0.1597, allocations: 3.938 kB / 0.7622 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.309e-05/0.1597, allocations: 7.938 kB / 0.7622 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003723/0.1601, allocations: 115.5 kB / 0.7623 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.215e-05/0.1602, allocations: 35.89 kB / 0.7623 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.392e-05/0.1602, allocations: 8.281 kB / 0.7623 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.175e-05/0.1603, allocations: 7.938 kB / 0.7624 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.383e-05/0.1603, allocations: 23.91 kB / 0.7624 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.1603, allocations: 0 / 0.7624 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004834/0.1608, allocations: 323.3 kB / 0.7627 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.1608, allocations: 7.938 kB / 0.7627 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.375e-05/0.1609, allocations: 15.86 kB / 0.7627 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002922/0.1612, allocations: 191.4 kB / 0.7629 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.1612, allocations: 4 kB / 0.7629 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1612, allocations: 4 kB / 0.7629 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.1612, allocations: 0 / 0.7629 GB, free: 13.91 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005021/0.1617, allocations: 378.9 kB / 0.7633 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.1617, allocations: 8.031 kB / 0.7633 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.793e-05/0.1617, allocations: 42.72 kB / 0.7633 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003467/0.1621, allocations: 60.86 kB / 0.7634 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.1622, allocations: 176.2 kB / 0.7635 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1623, allocations: 384 / 0.7635 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.1623, allocations: 8.375 kB / 0.7635 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.1625, allocations: 77.77 kB / 0.7636 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.1625, allocations: 0 / 0.7636 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.1625, allocations: 0 / 0.7636 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1625, allocations: 0 / 0.7636 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003515/0.1629, allocations: 71.91 kB / 0.7637 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001874/0.1631, allocations: 169.7 kB / 0.7638 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005256/0.1636, allocations: 134.5 kB / 0.764 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.1638, allocations: 36.95 kB / 0.764 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.1638, allocations: 0 / 0.764 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.1638, allocations: 42.48 kB / 0.764 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 7.91e-07/0.1638, allocations: 0 / 0.764 GB, free: 12.55 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=9): time 0.003864/0.1677, allocations: 0.8006 MB / 0.7648 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.1677, allocations: 51.41 kB / 0.7649 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.732e-05/0.1678, allocations: 113.8 kB / 0.765 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.1679, allocations: 29.7 kB / 0.765 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.044e-05/0.1679, allocations: 88.14 kB / 0.7651 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.875e-05/0.1679, allocations: 27.8 kB / 0.7651 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.095e-05/0.168, allocations: 33.64 kB / 0.7652 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1681, allocations: 314.8 kB / 0.7655 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004121/0.1685, allocations: 91.91 kB / 0.7655 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004085/0.169, allocations: 107.9 kB / 0.7657 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008032/0.1698, allocations: 196.6 kB / 0.7658 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1698, allocations: 3.938 kB / 0.7658 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008698/0.1706, allocations: 241.4 kB / 0.7661 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1706, allocations: 5.406 kB / 0.7661 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1707, allocations: 4 kB / 0.7661 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1707, allocations: 0 / 0.7661 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/0.171, allocations: 51.94 kB / 0.7661 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.171, allocations: 0 / 0.7661 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.1712, allocations: 35.95 kB / 0.7662 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.1712, allocations: 7.984 kB / 0.7662 GB, free: 10.32 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 (9): * Single equations (assignments): 9 * 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 8.91e-05/0.1713, allocations: 121.7 kB / 0.7663 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.082e-05/0.1713, allocations: 7.953 kB / 0.7663 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.849e-05/0.1713, allocations: 16.38 kB / 0.7663 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1713, allocations: 0 / 0.7663 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.1713, allocations: 0 / 0.7663 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1713, allocations: 0 / 0.7663 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/0.1729, allocations: 0.5974 MB / 0.7669 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1729, allocations: 3.984 kB / 0.7669 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/0.1731, allocations: 48.02 kB / 0.7669 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1732, allocations: 7.984 kB / 0.767 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.1732, allocations: 4 kB / 0.767 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1732, allocations: 0 / 0.767 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1732, allocations: 3.938 kB / 0.767 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009273/0.1741, allocations: 349.2 kB / 0.7673 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/0.1741, allocations: 81.06 kB / 0.7674 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.1742, allocations: 4 kB / 0.7674 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.1744, allocations: 39.95 kB / 0.7674 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.088e-05/0.1744, allocations: 15.86 kB / 0.7674 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.1744, allocations: 8.359 kB / 0.7674 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.23e-05/0.1745, allocations: 91.22 kB / 0.7675 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1745, allocations: 0 / 0.7675 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002751/0.1748, allocations: 39.92 kB / 0.7676 GB, free: 8.777 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (9): * Single equations (assignments): 9 * 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.001276/0.176, allocations: 0.8974 MB / 0.7684 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008651/0.1769, allocations: 211.7 kB / 0.7686 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.1769, allocations: 0 / 0.7686 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000432/0.1773, allocations: 104 kB / 0.7687 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.1776, allocations: 11.94 kB / 0.7687 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004416/0.182, allocations: 2.127 MB / 0.7708 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.1823, allocations: 0.6924 MB / 0.7715 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.376e-05/0.1824, allocations: 17.83 kB / 0.7715 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.962e-05/0.1824, allocations: 27.36 kB / 0.7715 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.1824, allocations: 0 / 0.7715 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02289/0.2053, allocations: 2.735 MB / 0.7742 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.155/7.361, allocations: 4.922 kB / 0.7742 GB, free: 1.895 MB / 0.5762 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.746517484993092]