Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_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.0009769/0.0009768, allocations: 99.28 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009592/0.0009592, allocations: 185.6 kB / 16.92 MB, free: 6.754 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.299/1.299, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6984/0.6984, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000311/0.000311, allocations: 8 kB / 496 MB, free: 6.238 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1464, allocations: 77.52 MB / 0.5601 GB, free: 8.914 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0008257/0.1473, allocations: 362.3 kB / 0.5604 GB, free: 8.555 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002306/0.1497, allocations: 1.447 MB / 0.5618 GB, free: 7.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.008e-05/0.1497, allocations: 0 / 0.5618 GB, free: 7.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.857e-05/0.1497, allocations: 0 / 0.5618 GB, free: 7.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.765e-05/0.1498, allocations: 11.92 kB / 0.5618 GB, free: 7.078 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006147/0.1505, allocations: 95.7 kB / 0.5619 GB, free: 6.984 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.784e-05/0.1506, allocations: 23.92 kB / 0.5619 GB, free: 6.961 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.656e-05/0.1506, allocations: 0 / 0.5619 GB, free: 6.961 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.055e-05/0.1507, allocations: 19.92 kB / 0.562 GB, free: 6.941 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.395e-05/0.1508, allocations: 19.84 kB / 0.562 GB, free: 6.922 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.1508, allocations: 4 kB / 0.562 GB, free: 6.918 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006408/0.1514, allocations: 315.4 kB / 0.5623 GB, free: 6.609 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.085e-05/0.1515, allocations: 15.97 kB / 0.5623 GB, free: 6.594 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.484e-05/0.1515, allocations: 37.58 kB / 0.5623 GB, free: 6.551 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004144/0.152, allocations: 183.9 kB / 0.5625 GB, free: 6.371 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.152, allocations: 0 / 0.5625 GB, free: 6.371 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.175e-06/0.152, allocations: 0 / 0.5625 GB, free: 6.371 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.152, allocations: 4 kB / 0.5625 GB, free: 6.367 MB / 430.1 MB 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.0005494/0.1526, allocations: 371.4 kB / 0.5629 GB, free: 5.957 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.1526, allocations: 12.03 kB / 0.5629 GB, free: 5.945 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.527e-05/0.1527, allocations: 30.75 kB / 0.5629 GB, free: 5.906 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004013/0.1531, allocations: 80.77 kB / 0.563 GB, free: 5.828 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.1532, allocations: 168.3 kB / 0.5631 GB, free: 5.625 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.1532, allocations: 384 / 0.5631 GB, free: 5.625 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.1533, allocations: 4.375 kB / 0.5632 GB, free: 5.621 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.1535, allocations: 85.77 kB / 0.5632 GB, free: 5.531 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1536, allocations: 3.906 kB / 0.5632 GB, free: 5.527 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1536, allocations: 3.938 kB / 0.5632 GB, free: 5.523 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.1536, allocations: 4 kB / 0.5632 GB, free: 5.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003657/0.154, allocations: 83.91 kB / 0.5633 GB, free: 5.438 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000217/0.1542, allocations: 169.7 kB / 0.5635 GB, free: 5.223 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000561/0.1548, allocations: 150.4 kB / 0.5636 GB, free: 5.066 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.155, allocations: 48.94 kB / 0.5637 GB, free: 5.016 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.155, allocations: 7.938 kB / 0.5637 GB, free: 5.008 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.155, allocations: 38.5 kB / 0.5637 GB, free: 4.961 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.653e-06/0.155, allocations: 0 / 0.5637 GB, free: 4.961 MB / 430.1 MB 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.004446/0.1595, allocations: 0.951 MB / 0.5646 GB, free: 4.004 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.1596, allocations: 55.41 kB / 0.5647 GB, free: 3.938 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.1597, allocations: 113.8 kB / 0.5648 GB, free: 3.816 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.1597, allocations: 29.7 kB / 0.5648 GB, free: 3.781 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.766e-05/0.1598, allocations: 80.14 kB / 0.5649 GB, free: 3.699 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.527e-05/0.1598, allocations: 35.53 kB / 0.5649 GB, free: 3.664 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/0.1599, allocations: 17.72 kB / 0.565 GB, free: 3.641 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.16, allocations: 322.8 kB / 0.5653 GB, free: 3.316 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004535/0.1604, allocations: 115.9 kB / 0.5654 GB, free: 3.203 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004493/0.1609, allocations: 119.9 kB / 0.5655 GB, free: 3.086 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008894/0.1618, allocations: 236.6 kB / 0.5657 GB, free: 2.852 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.1618, allocations: 4.219 kB / 0.5657 GB, free: 2.848 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000965/0.1628, allocations: 289.3 kB / 0.566 GB, free: 2.559 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.1628, allocations: 10.03 kB / 0.566 GB, free: 2.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1628, allocations: 0 / 0.566 GB, free: 2.551 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.1628, allocations: 0.75 kB / 0.566 GB, free: 2.551 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/0.1632, allocations: 63.94 kB / 0.5661 GB, free: 2.488 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1632, allocations: 4 kB / 0.5661 GB, free: 2.484 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002388/0.1634, allocations: 43.95 kB / 0.5661 GB, free: 2.441 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.1635, allocations: 7.984 kB / 0.5661 GB, free: 2.434 MB / 430.1 MB 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.301e-05/0.1635, allocations: 117.8 kB / 0.5662 GB, free: 2.309 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.1636, allocations: 3.984 kB / 0.5662 GB, free: 2.305 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.088e-05/0.1636, allocations: 16.38 kB / 0.5663 GB, free: 2.289 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1636, allocations: 4 kB / 0.5663 GB, free: 2.285 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.1636, allocations: 0 / 0.5663 GB, free: 2.285 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1636, allocations: 4 kB / 0.5663 GB, free: 2.281 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.1654, allocations: 0.6598 MB / 0.5669 GB, free: 1.559 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1654, allocations: 4 kB / 0.5669 GB, free: 1.555 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/0.1657, allocations: 64 kB / 0.567 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.1657, allocations: 0 / 0.567 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.1657, allocations: 11.92 kB / 0.567 GB, free: 1.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1657, allocations: 0 / 0.567 GB, free: 1.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.1658, allocations: 7.938 kB / 0.567 GB, free: 1.473 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009903/0.1667, allocations: 384.9 kB / 0.5674 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.1668, allocations: 77.11 kB / 0.5674 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.1668, allocations: 8 kB / 0.5674 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002611/0.1671, allocations: 47.89 kB / 0.5675 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.1671, allocations: 15.92 kB / 0.5675 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.1672, allocations: 7.984 kB / 0.5675 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.877e-05/0.1672, allocations: 87.28 kB / 0.5676 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1672, allocations: 0 / 0.5676 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000289/0.1675, allocations: 43.98 kB / 0.5676 GB, free: 0.7734 MB / 430.1 MB 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.001336/0.1689, allocations: 0.9327 MB / 0.5685 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009559/0.1698, allocations: 251.7 kB / 0.5688 GB, free: 15.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1698, allocations: 0 / 0.5688 GB, free: 15.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004735/0.1703, allocations: 132 kB / 0.5689 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.1706, allocations: 11.94 kB / 0.5689 GB, free: 15.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004841/0.1754, allocations: 2.31 MB / 0.5712 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.1757, allocations: 0.6863 MB / 0.5719 GB, free: 12.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001146/0.1758, allocations: 25.44 kB / 0.5719 GB, free: 12.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.041e-05/0.1759, allocations: 27.42 kB / 0.5719 GB, free: 12.26 MB / 446.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1759, allocations: 0 / 0.5719 GB, free: 12.26 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3532/0.5291, allocations: 2.466 MB / 0.5743 GB, free: 9.945 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002073/0.5293, allocations: 212 kB / 0.5745 GB, free: 9.691 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.391/2.921, allocations: 0 / 0.5745 GB, free: 9.691 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)