Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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) 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.InverseXRegularized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized",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.00743/0.00743, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.001854/0.001855, allocations: 189.7 kB / 16.67 MB, free: 5.973 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.802/0.802, allocations: 132.2 MB / 422.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 70.17 kB / 0.5809 GB, free: 24.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1284, allocations: 80.21 MB / 0.6592 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001594/0.1301, allocations: 0.6266 MB / 0.6599 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001742/0.1318, allocations: 1.457 MB / 0.6613 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.359e-05/0.1318, allocations: 4 kB / 0.6613 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.453e-05/0.1319, allocations: 7.875 kB / 0.6613 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.293e-05/0.1319, allocations: 3.984 kB / 0.6613 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003881/0.1323, allocations: 115.5 kB / 0.6614 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.751e-05/0.1324, allocations: 31.86 kB / 0.6614 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.942e-05/0.1325, allocations: 4 kB / 0.6614 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.641e-05/0.1325, allocations: 19.92 kB / 0.6615 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.799e-05/0.1326, allocations: 19.91 kB / 0.6615 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.1326, allocations: 4 kB / 0.6615 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004806/0.1331, allocations: 315.4 kB / 0.6618 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.1331, allocations: 7.922 kB / 0.6618 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.1331, allocations: 19.86 kB / 0.6618 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002984/0.1334, allocations: 187.8 kB / 0.662 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1334, allocations: 0 / 0.662 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1335, allocations: 0 / 0.662 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.1335, allocations: 4 kB / 0.662 GB, free: 7.891 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000504/0.134, allocations: 382.9 kB / 0.6624 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.134, allocations: 8.031 kB / 0.6624 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.718e-05/0.1341, allocations: 34.75 kB / 0.6624 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003519/0.1344, allocations: 56.86 kB / 0.6624 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.1346, allocations: 172.3 kB / 0.6626 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.1346, allocations: 8.312 kB / 0.6626 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.1346, allocations: 384 / 0.6626 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/0.1349, allocations: 81.7 kB / 0.6627 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.1349, allocations: 0 / 0.6627 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.1349, allocations: 4 kB / 0.6627 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1349, allocations: 0 / 0.6627 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003705/0.1353, allocations: 75.91 kB / 0.6628 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000187/0.1355, allocations: 169.7 kB / 0.6629 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005489/0.1361, allocations: 122.5 kB / 0.6631 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.1363, allocations: 44.94 kB / 0.6631 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.1363, allocations: 0 / 0.6631 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.1363, allocations: 38.44 kB / 0.6631 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.1363, allocations: 4 kB / 0.6631 GB, free: 6.543 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=9): time 0.00416/0.1405, allocations: 0.7858 MB / 0.6639 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.1405, allocations: 51.41 kB / 0.664 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.621e-05/0.1406, allocations: 117.9 kB / 0.6641 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.1407, allocations: 29.64 kB / 0.6641 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.551e-05/0.1407, allocations: 92.12 kB / 0.6642 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.34e-05/0.1408, allocations: 31.75 kB / 0.6642 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.828e-05/0.1408, allocations: 25.7 kB / 0.6642 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.141, allocations: 318.8 kB / 0.6645 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004462/0.1414, allocations: 91.91 kB / 0.6646 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004361/0.1419, allocations: 95.89 kB / 0.6647 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008533/0.1427, allocations: 196.7 kB / 0.6649 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1427, allocations: 3.938 kB / 0.6649 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009472/0.1437, allocations: 237.4 kB / 0.6651 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1437, allocations: 8 kB / 0.6651 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1437, allocations: 4 kB / 0.6651 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.1438, allocations: 7.969 kB / 0.6652 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000325/0.1441, allocations: 51.89 kB / 0.6652 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1441, allocations: 3.984 kB / 0.6652 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.1443, allocations: 35.97 kB / 0.6652 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.1444, allocations: 7.984 kB / 0.6652 GB, free: 4.312 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 (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 9.174e-05/0.1445, allocations: 117.8 kB / 0.6654 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/0.1445, allocations: 0 / 0.6654 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.113e-05/0.1445, allocations: 20.31 kB / 0.6654 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1445, allocations: 0 / 0.6654 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.1445, allocations: 288 / 0.6654 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1446, allocations: 3.984 kB / 0.6654 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.1463, allocations: 0.5974 MB / 0.666 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1463, allocations: 7.875 kB / 0.666 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.1465, allocations: 47.94 kB / 0.666 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.1466, allocations: 8.062 kB / 0.666 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.1466, allocations: 4.75 kB / 0.666 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1466, allocations: 4 kB / 0.666 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.1466, allocations: 3.938 kB / 0.666 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009918/0.1476, allocations: 345 kB / 0.6664 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.794e-05/0.1477, allocations: 77.11 kB / 0.6664 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.1477, allocations: 7.984 kB / 0.6665 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.1479, allocations: 35.97 kB / 0.6665 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.148, allocations: 11.92 kB / 0.6665 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.148, allocations: 11.98 kB / 0.6665 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.777e-05/0.1481, allocations: 87.67 kB / 0.6666 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1481, allocations: 0 / 0.6666 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002802/0.1484, allocations: 39.86 kB / 0.6666 GB, free: 2.777 MB / 0.4981 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.001378/0.1498, allocations: 0.909 MB / 0.6675 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009556/0.1507, allocations: 211.7 kB / 0.6677 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1507, allocations: 0 / 0.6677 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004645/0.1512, allocations: 104.2 kB / 0.6678 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.1514, allocations: 16.17 kB / 0.6678 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004832/0.1563, allocations: 2.135 MB / 0.6699 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.1566, allocations: 0.6962 MB / 0.6706 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.962e-05/0.1567, allocations: 16.67 kB / 0.6706 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.451e-05/0.1568, allocations: 27.41 kB / 0.6706 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.1568, allocations: 0 / 0.6706 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1459/0.3027, allocations: 2.732 MB / 0.6733 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.581/8.884, allocations: 3.859 kB / 0.6733 GB, free: 11.91 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)