Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="BuildingSystems_BuildingSystems_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.005764/0.005764, allocations: 100.9 kB / 15.73 MB, free: 6.031 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.001379/0.001379, allocations: 196.8 kB / 16.67 MB, free: 5.969 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00208/0.00208, allocations: 282.9 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.929/0.929, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 95.89 kB / 0.681 GB, free: 15.92 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1587, allocations: 86.97 MB / 0.7659 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001768/0.1605, allocations: 0.6344 MB / 0.7666 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001987/0.1626, allocations: 1.439 MB / 0.768 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.1626, allocations: 0 / 0.768 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.1627, allocations: 7.875 kB / 0.768 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.102e-05/0.1627, allocations: 7.875 kB / 0.768 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004559/0.1632, allocations: 127.5 kB / 0.7681 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.917e-05/0.1633, allocations: 27.91 kB / 0.7681 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.491e-05/0.1633, allocations: 4 kB / 0.7681 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.696e-05/0.1634, allocations: 11.92 kB / 0.7681 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.38e-05/0.1635, allocations: 19.92 kB / 0.7682 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.1635, allocations: 0 / 0.7682 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004598/0.1639, allocations: 323.3 kB / 0.7685 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.164, allocations: 12 kB / 0.7685 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.852e-05/0.164, allocations: 11.86 kB / 0.7685 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.1643, allocations: 187.9 kB / 0.7687 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1643, allocations: 0 / 0.7687 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1643, allocations: 0 / 0.7687 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.85e-06/0.1643, allocations: 0 / 0.7687 GB, free: 6.051 MB / 0.5606 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.0005024/0.1648, allocations: 379.3 kB / 0.769 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.1649, allocations: 12.03 kB / 0.7691 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.725e-05/0.1649, allocations: 38.73 kB / 0.7691 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003625/0.1653, allocations: 60.8 kB / 0.7691 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.1655, allocations: 180.3 kB / 0.7693 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.1655, allocations: 4.312 kB / 0.7693 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.1655, allocations: 8.375 kB / 0.7693 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.1658, allocations: 69.77 kB / 0.7694 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.1658, allocations: 4 kB / 0.7694 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.1658, allocations: 0 / 0.7694 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1658, allocations: 4 kB / 0.7694 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003539/0.1662, allocations: 67.91 kB / 0.7695 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/0.1664, allocations: 177.7 kB / 0.7696 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004856/0.1669, allocations: 130.4 kB / 0.7698 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.167, allocations: 44.94 kB / 0.7698 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.167, allocations: 0 / 0.7698 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.1671, allocations: 38.5 kB / 0.7698 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.1671, allocations: 0 / 0.7698 GB, free: 4.688 MB / 0.5606 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.003742/0.1708, allocations: 0.7751 MB / 0.7706 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.1709, allocations: 59.5 kB / 0.7707 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.952e-05/0.171, allocations: 121.7 kB / 0.7708 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.171, allocations: 25.7 kB / 0.7708 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.161e-05/0.1711, allocations: 80.14 kB / 0.7709 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.518e-05/0.1711, allocations: 31.55 kB / 0.7709 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.738e-05/0.1712, allocations: 29.7 kB / 0.7709 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.213e-05/0.1713, allocations: 318.8 kB / 0.7712 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00037/0.1716, allocations: 99.91 kB / 0.7713 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003582/0.172, allocations: 95.89 kB / 0.7714 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006877/0.1727, allocations: 196.6 kB / 0.7716 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1727, allocations: 4.125 kB / 0.7716 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007855/0.1735, allocations: 237.5 kB / 0.7718 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1735, allocations: 9.812 kB / 0.7718 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1735, allocations: 0 / 0.7718 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1736, allocations: 0 / 0.7718 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002926/0.1739, allocations: 55.94 kB / 0.7719 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.1739, allocations: 0 / 0.7719 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.1741, allocations: 39.95 kB / 0.7719 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.1741, allocations: 3.984 kB / 0.7719 GB, free: 2.473 MB / 0.5606 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.564e-05/0.1742, allocations: 122.4 kB / 0.7721 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.1743, allocations: 7.906 kB / 0.7721 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.171e-05/0.1743, allocations: 12.38 kB / 0.7721 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1743, allocations: 288 / 0.7721 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1743, allocations: 4 kB / 0.7721 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.1743, allocations: 3.984 kB / 0.7721 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/0.1759, allocations: 0.6012 MB / 0.7727 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1759, allocations: 0 / 0.7727 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.1761, allocations: 56 kB / 0.7727 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1762, allocations: 0 / 0.7727 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.1762, allocations: 4 kB / 0.7727 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.1762, allocations: 0 / 0.7727 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.1762, allocations: 7.938 kB / 0.7727 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008475/0.177, allocations: 337 kB / 0.7731 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.075e-05/0.1771, allocations: 85.02 kB / 0.7731 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.1771, allocations: 0 / 0.7731 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.1774, allocations: 43.95 kB / 0.7732 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.1774, allocations: 15.86 kB / 0.7732 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.1774, allocations: 7.984 kB / 0.7732 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.294e-05/0.1775, allocations: 87.28 kB / 0.7733 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1775, allocations: 4 kB / 0.7733 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003722/0.1779, allocations: 43.98 kB / 0.7733 GB, free: 0.9336 MB / 0.5606 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.001208/0.1791, allocations: 0.8979 MB / 0.7742 GB, free: 4 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.3186/0.4977, allocations: 200.2 kB / 0.7744 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.4978, allocations: 0 / 0.7744 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004735/0.4983, allocations: 112.2 kB / 0.7745 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.4985, allocations: 7.016 kB / 0.7745 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004273/0.5028, allocations: 2.135 MB / 0.7766 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.503, allocations: 0.6861 MB / 0.7773 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.604e-05/0.5031, allocations: 26.75 kB / 0.7773 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.62e-05/0.5032, allocations: 26.58 kB / 0.7773 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of SimCode: time 7.31e-07/0.5032, allocations: 0 / 0.7773 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02148/0.5247, allocations: 2.812 MB / 0.7801 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.12/7.645, allocations: 11.66 kB / 0.7801 GB, free: 12.54 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)