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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 182.1 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.538/0.538, allocations: 91.98 MB / 108.5 MB, free: 13.1 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.58/1.58, allocations: 223.2 MB / 354.3 MB, free: 10.5 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001068, allocations: 106.2 kB / 427.4 MB, free: 2.203 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.0003456, allocations: 16 kB / 0.4983 GB, free: 41.98 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.166, allocations: 72.3 MB / 0.5689 GB, free: 1.605 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4658/0.6319, allocations: 102.3 MB / 0.6688 GB, free: 2.074 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.6322, allocations: 76.73 kB / 0.6689 GB, free: 2 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01325/0.6455, allocations: 4.204 MB / 0.673 GB, free: 13.81 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.6455, allocations: 4 kB / 0.673 GB, free: 13.81 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.6455, allocations: 0 / 0.673 GB, free: 13.81 MB / 474.7 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.0005013/0.646, allocations: 394 kB / 0.6734 GB, free: 13.38 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.6461, allocations: 8.031 kB / 0.6734 GB, free: 13.37 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.868e-05/0.6461, allocations: 34.5 kB / 0.6734 GB, free: 13.33 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003119/0.6465, allocations: 63.8 kB / 0.6735 GB, free: 13.27 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.6466, allocations: 171 kB / 0.6736 GB, free: 13.06 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.6466, allocations: 4 kB / 0.6736 GB, free: 13.05 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.6467, allocations: 0 / 0.6736 GB, free: 13.05 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.6469, allocations: 81.64 kB / 0.6737 GB, free: 12.97 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.647, allocations: 0 / 0.6737 GB, free: 12.97 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.647, allocations: 3.984 kB / 0.6737 GB, free: 12.96 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.647, allocations: 0 / 0.6737 GB, free: 12.96 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003648/0.6474, allocations: 83.88 kB / 0.6738 GB, free: 12.88 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001922/0.6476, allocations: 185.4 kB / 0.674 GB, free: 12.65 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005293/0.6481, allocations: 142.5 kB / 0.6741 GB, free: 12.5 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.6481, allocations: 8 kB / 0.6741 GB, free: 12.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.6482, allocations: 30.56 kB / 0.6741 GB, free: 12.46 MB / 474.7 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.6482, allocations: 3.938 kB / 0.6741 GB, free: 12.45 MB / 474.7 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.005301/0.6535, allocations: 1.025 MB / 0.6751 GB, free: 11.42 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.6535, allocations: 55.41 kB / 0.6752 GB, free: 11.36 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.095e-05/0.6536, allocations: 101 kB / 0.6753 GB, free: 11.25 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.6537, allocations: 29.7 kB / 0.6753 GB, free: 11.21 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.29e-05/0.6537, allocations: 88.12 kB / 0.6754 GB, free: 11.12 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.709e-05/0.6538, allocations: 31.56 kB / 0.6754 GB, free: 11.09 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.497e-05/0.6538, allocations: 4 kB / 0.6754 GB, free: 11.09 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.6539, allocations: 314.8 kB / 0.6757 GB, free: 10.77 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004384/0.6544, allocations: 127.9 kB / 0.6759 GB, free: 10.65 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004958/0.6549, allocations: 127.9 kB / 0.676 GB, free: 10.52 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004541/0.6553, allocations: 127.8 kB / 0.6761 GB, free: 10.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.6553, allocations: 0 / 0.6761 GB, free: 10.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009862/0.6563, allocations: 309.4 kB / 0.6764 GB, free: 10.09 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.6564, allocations: 4 kB / 0.6764 GB, free: 10.09 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.6564, allocations: 4 kB / 0.6764 GB, free: 10.08 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.6564, allocations: 4.312 kB / 0.6764 GB, free: 10.08 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000408/0.6568, allocations: 71.91 kB / 0.6765 GB, free: 10.01 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.6568, allocations: 3.953 kB / 0.6765 GB, free: 10 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/0.6572, allocations: 55.94 kB / 0.6765 GB, free: 9.949 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.6572, allocations: 11.92 kB / 0.6766 GB, free: 9.938 MB / 474.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.6573, allocations: 113.8 kB / 0.6767 GB, free: 9.816 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.6573, allocations: 7.906 kB / 0.6767 GB, free: 9.809 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.553e-05/0.6574, allocations: 8.375 kB / 0.6767 GB, free: 9.797 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.6574, allocations: 0 / 0.6767 GB, free: 9.797 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.6574, allocations: 4 kB / 0.6767 GB, free: 9.793 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.6574, allocations: 7.938 kB / 0.6767 GB, free: 9.785 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/0.6595, allocations: 0.6966 MB / 0.6774 GB, free: 9.027 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.6595, allocations: 0 / 0.6774 GB, free: 9.027 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000336/0.6598, allocations: 67.98 kB / 0.6774 GB, free: 8.961 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.6598, allocations: 3.953 kB / 0.6774 GB, free: 8.957 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.6599, allocations: 7.984 kB / 0.6774 GB, free: 8.949 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.6599, allocations: 0 / 0.6774 GB, free: 8.949 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6599, allocations: 3.938 kB / 0.6774 GB, free: 8.945 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.6609, allocations: 436.3 kB / 0.6779 GB, free: 8.484 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.395e-05/0.6609, allocations: 81.09 kB / 0.6779 GB, free: 8.387 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.661, allocations: 4 kB / 0.6779 GB, free: 8.383 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000319/0.6613, allocations: 47.95 kB / 0.678 GB, free: 8.336 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/0.6614, allocations: 11.98 kB / 0.678 GB, free: 8.324 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.6614, allocations: 7.984 kB / 0.678 GB, free: 8.316 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.775e-05/0.6615, allocations: 95.2 kB / 0.6781 GB, free: 8.223 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6615, allocations: 0 / 0.6781 GB, free: 8.223 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003179/0.6618, allocations: 43.94 kB / 0.6781 GB, free: 8.18 MB / 474.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001549/0.6633, allocations: 1.117 MB / 0.6792 GB, free: 7.02 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009456/0.6643, allocations: 275.9 kB / 0.6795 GB, free: 6.75 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6643, allocations: 192 / 0.6795 GB, free: 6.75 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004579/0.6648, allocations: 139.9 kB / 0.6796 GB, free: 6.613 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.665, allocations: 11.89 kB / 0.6796 GB, free: 6.602 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003733/0.6687, allocations: 1.211 MB / 0.6808 GB, free: 5.332 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.6689, allocations: 0.6894 MB / 0.6815 GB, free: 4.617 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001541/0.6691, allocations: 29.44 kB / 0.6815 GB, free: 4.586 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.6693, allocations: 39.33 kB / 0.6816 GB, free: 4.547 MB / 474.7 MB Notification: Performance of SimCode: time 3.3e-07/0.6693, allocations: 3.938 kB / 0.6816 GB, free: 4.543 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01449/0.6838, allocations: 2.663 MB / 0.6842 GB, free: 2.02 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/0.684, allocations: 190.2 kB / 0.6843 GB, free: 1.777 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/2.264, allocations: 0 / 0.6843 GB, free: 1.777 MB / 474.7 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/linux/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)