Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.001411/0.001411, allocations: 109 kB / 17.54 MB, free: 4.781 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.001443/0.001443, allocations: 189.9 kB / 20.71 MB, free: 1.625 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.279/1.279, allocations: 225.6 MB / 249.3 MB, free: 3.184 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.9784/0.9784, allocations: 175.7 MB / 480.1 MB, free: 2.82 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.InverseXDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 73.58 kB / 0.6678 GB, free: 10.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1529, allocations: 94.53 MB / 0.7601 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001632/0.1545, allocations: 0.6068 MB / 0.7607 GB, free: 208 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001792/0.1563, allocations: 1.461 MB / 0.7621 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.149e-05/0.1563, allocations: 0 / 0.7621 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.019e-05/0.1563, allocations: 0 / 0.7621 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.685e-05/0.1564, allocations: 3.938 kB / 0.7621 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004425/0.1568, allocations: 143.4 kB / 0.7623 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.782e-05/0.1569, allocations: 31.91 kB / 0.7623 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.642e-05/0.1569, allocations: 4 kB / 0.7623 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.993e-05/0.1569, allocations: 19.98 kB / 0.7623 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.096e-05/0.157, allocations: 27.89 kB / 0.7624 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.157, allocations: 8 kB / 0.7624 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004526/0.1575, allocations: 311.4 kB / 0.7627 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.1575, allocations: 3.984 kB / 0.7627 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.604e-05/0.1575, allocations: 15.92 kB / 0.7627 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002787/0.1578, allocations: 187.8 kB / 0.7629 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1578, allocations: 0 / 0.7629 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1578, allocations: 3.938 kB / 0.7629 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.1578, allocations: 0 / 0.7629 GB, free: 13.98 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005195/0.1584, allocations: 371.1 kB / 0.7632 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.1584, allocations: 12.03 kB / 0.7632 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.286e-05/0.1584, allocations: 30.75 kB / 0.7633 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004423/0.1589, allocations: 68.84 kB / 0.7633 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.159, allocations: 164.3 kB / 0.7635 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.159, allocations: 12.36 kB / 0.7635 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.159, allocations: 4.375 kB / 0.7635 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.1593, allocations: 81.75 kB / 0.7636 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.433e-06/0.1593, allocations: 0 / 0.7636 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.1593, allocations: 0 / 0.7636 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1593, allocations: 0 / 0.7636 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002876/0.1596, allocations: 63.94 kB / 0.7636 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.1598, allocations: 169.6 kB / 0.7638 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005748/0.1604, allocations: 122.5 kB / 0.7639 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.1605, allocations: 40.92 kB / 0.764 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004337/0.161, allocations: 153 kB / 0.7641 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.161, allocations: 42.48 kB / 0.7641 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.161, allocations: 0 / 0.7641 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.00111/0.1621, allocations: 406.2 kB / 0.7645 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.1621, allocations: 55.41 kB / 0.7646 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.181e-05/0.1622, allocations: 93.86 kB / 0.7647 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.1622, allocations: 25.7 kB / 0.7647 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.1623, allocations: 84.12 kB / 0.7648 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.1623, allocations: 23.84 kB / 0.7648 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.1623, allocations: 17.72 kB / 0.7648 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1625, allocations: 319 kB / 0.7651 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.1626, allocations: 35.95 kB / 0.7652 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.1628, allocations: 39.84 kB / 0.7652 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.1631, allocations: 76.8 kB / 0.7653 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1631, allocations: 0 / 0.7653 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003567/0.1634, allocations: 121.5 kB / 0.7654 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.1634, allocations: 4 kB / 0.7654 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1634, allocations: 0 / 0.7654 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1634, allocations: 8 kB / 0.7654 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.1636, allocations: 19.98 kB / 0.7654 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.1636, allocations: 0 / 0.7654 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.368e-05/0.1637, allocations: 11.98 kB / 0.7654 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.1637, allocations: 8.234 kB / 0.7654 GB, free: 11.05 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 (6): * Single equations (assignments): 6 * 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 7.657e-05/0.1638, allocations: 117.8 kB / 0.7655 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.792e-05/0.1638, allocations: 7.891 kB / 0.7656 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004456/0.1642, allocations: 133.2 kB / 0.7657 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1642, allocations: 0 / 0.7657 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.1642, allocations: 4 kB / 0.7657 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1642, allocations: 4 kB / 0.7657 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.1644, allocations: 165.7 kB / 0.7658 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1644, allocations: 3.938 kB / 0.7658 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.1645, allocations: 20.31 kB / 0.7659 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1645, allocations: 3.938 kB / 0.7659 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.1646, allocations: 4 kB / 0.7659 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1646, allocations: 3.984 kB / 0.7659 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1646, allocations: 0 / 0.7659 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005597/0.1651, allocations: 189 kB / 0.7661 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.951e-05/0.1652, allocations: 92.92 kB / 0.7661 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.1652, allocations: 4.031 kB / 0.7662 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.1653, allocations: 11.98 kB / 0.7662 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.708e-05/0.1653, allocations: 7.984 kB / 0.7662 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.1654, allocations: 8.062 kB / 0.7662 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.687e-05/0.1654, allocations: 75.28 kB / 0.7663 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1654, allocations: 0 / 0.7663 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002157/0.1656, allocations: 31.92 kB / 0.7663 GB, free: 10.08 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0009332/0.1665, allocations: 0.7528 MB / 0.767 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003609/0.1669, allocations: 87.98 kB / 0.7671 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1669, allocations: 4 kB / 0.7671 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.1671, allocations: 44.22 kB / 0.7671 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.1672, allocations: 5.547 kB / 0.7672 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.1692, allocations: 1.36 MB / 0.7685 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.1695, allocations: 0.6807 MB / 0.7691 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.978e-05/0.1695, allocations: 16.25 kB / 0.7692 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.597e-05/0.1696, allocations: 19.42 kB / 0.7692 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of SimCode: time 3.91e-07/0.1696, allocations: 4 kB / 0.7692 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.1947, allocations: 2.029 MB / 0.7712 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.143/7.338, allocations: 4.844 kB / 0.7712 GB, free: 5.02 MB / 0.5762 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.684552288992563]