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.001214/0.001214, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001223/0.001223, allocations: 191.6 kB / 16.25 MB, free: 6.629 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.174/1.174, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001938/0.001938, allocations: 290.9 kB / 290.3 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8651/0.8651, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 98.55 kB / 0.5948 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1168, allocations: 86.98 MB / 0.6797 GB, free: 0.957 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001427/0.1183, allocations: 0.6942 MB / 0.6804 GB, free: 276 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.1196, allocations: 1.449 MB / 0.6818 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.859e-05/0.1196, allocations: 0 / 0.6818 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.168e-05/0.1197, allocations: 0.875 kB / 0.6818 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.927e-05/0.1197, allocations: 3.938 kB / 0.6818 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.12, allocations: 102.5 kB / 0.6819 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.258e-05/0.1201, allocations: 23.92 kB / 0.682 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.229e-05/0.1201, allocations: 4.625 kB / 0.682 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.727e-05/0.1202, allocations: 15.92 kB / 0.682 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.016e-05/0.1202, allocations: 27.91 kB / 0.682 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.1202, allocations: 0 / 0.682 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003454/0.1206, allocations: 319.3 kB / 0.6823 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.1206, allocations: 11.92 kB / 0.6823 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.954e-05/0.1206, allocations: 11.92 kB / 0.6823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.1209, allocations: 187.9 kB / 0.6825 GB, free: 14.11 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.1209, allocations: 0 / 0.6825 GB, free: 14.11 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1209, allocations: 0 / 0.6825 GB, free: 14.11 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.1209, allocations: 0 / 0.6825 GB, free: 14.11 MB / 494.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.0003827/0.1213, allocations: 379.3 kB / 0.6829 GB, free: 13.7 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.1213, allocations: 15.97 kB / 0.6829 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.336e-05/0.1213, allocations: 34.73 kB / 0.6829 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003149/0.1216, allocations: 64.77 kB / 0.683 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.761e-05/0.1217, allocations: 168.4 kB / 0.6831 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.1218, allocations: 384 / 0.6831 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.1218, allocations: 8.219 kB / 0.6832 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.122, allocations: 81.77 kB / 0.6832 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.122, allocations: 0 / 0.6832 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.122, allocations: 8 kB / 0.6832 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.1221, allocations: 0 / 0.6832 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003073/0.1224, allocations: 71.91 kB / 0.6833 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001329/0.1225, allocations: 173.7 kB / 0.6835 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004545/0.123, allocations: 126.4 kB / 0.6836 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.1231, allocations: 40.95 kB / 0.6836 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.1231, allocations: 0 / 0.6836 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.1232, allocations: 38.48 kB / 0.6837 GB, free: 12.76 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 7.81e-07/0.1232, allocations: 4 kB / 0.6837 GB, free: 12.75 MB / 494.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.003557/0.1267, allocations: 0.7818 MB / 0.6844 GB, free: 11.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.1268, allocations: 51.41 kB / 0.6845 GB, free: 11.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.647e-05/0.1268, allocations: 113.8 kB / 0.6846 GB, free: 11.78 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.1269, allocations: 29.7 kB / 0.6846 GB, free: 11.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.516e-05/0.1269, allocations: 84.14 kB / 0.6847 GB, free: 11.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.1269, allocations: 31.55 kB / 0.6847 GB, free: 11.63 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.127, allocations: 25.7 kB / 0.6848 GB, free: 11.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.081e-05/0.1271, allocations: 322.8 kB / 0.6851 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003683/0.1274, allocations: 91.91 kB / 0.6852 GB, free: 11.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003716/0.1278, allocations: 99.89 kB / 0.6852 GB, free: 11.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007045/0.1285, allocations: 200.8 kB / 0.6854 GB, free: 10.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1285, allocations: 3.938 kB / 0.6854 GB, free: 10.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007928/0.1293, allocations: 237.4 kB / 0.6857 GB, free: 10.64 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/0.1294, allocations: 4 kB / 0.6857 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1294, allocations: 0 / 0.6857 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.396e-06/0.1294, allocations: 7.875 kB / 0.6857 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.1297, allocations: 55.94 kB / 0.6857 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.1297, allocations: 0 / 0.6857 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.1299, allocations: 39.95 kB / 0.6858 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.1299, allocations: 7.984 kB / 0.6858 GB, free: 10.53 MB / 494.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 6.88e-05/0.13, allocations: 119.1 kB / 0.6859 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.13, allocations: 4 kB / 0.6859 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.307e-05/0.13, allocations: 8.375 kB / 0.6859 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.13, allocations: 0 / 0.6859 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.1301, allocations: 4 kB / 0.6859 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.1301, allocations: 0 / 0.6859 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.1315, allocations: 0.6101 MB / 0.6865 GB, free: 9.719 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1315, allocations: 0 / 0.6865 GB, free: 9.719 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/0.1317, allocations: 47.95 kB / 0.6866 GB, free: 9.672 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1317, allocations: 7.969 kB / 0.6866 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.1317, allocations: 8.062 kB / 0.6866 GB, free: 9.656 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1318, allocations: 8 kB / 0.6866 GB, free: 9.648 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1318, allocations: 3.938 kB / 0.6866 GB, free: 9.645 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007978/0.1326, allocations: 344.9 kB / 0.6869 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.179e-05/0.1326, allocations: 81.11 kB / 0.687 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.1326, allocations: 0 / 0.687 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.1329, allocations: 32.14 kB / 0.687 GB, free: 9.156 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.1329, allocations: 15.92 kB / 0.687 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.1329, allocations: 15.92 kB / 0.687 GB, free: 9.125 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.843e-05/0.133, allocations: 95.22 kB / 0.6871 GB, free: 9.031 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.133, allocations: 0 / 0.6871 GB, free: 9.031 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000243/0.1332, allocations: 35.98 kB / 0.6872 GB, free: 8.996 MB / 494.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.001058/0.1343, allocations: 0.9013 MB / 0.6881 GB, free: 8.062 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007781/0.1351, allocations: 211.7 kB / 0.6883 GB, free: 7.855 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1351, allocations: 4 kB / 0.6883 GB, free: 7.852 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000384/0.1355, allocations: 111.9 kB / 0.6884 GB, free: 7.742 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.1357, allocations: 9.906 kB / 0.6884 GB, free: 7.734 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003757/0.1395, allocations: 2.137 MB / 0.6905 GB, free: 5.504 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/0.1396, allocations: 0.6846 MB / 0.6911 GB, free: 4.793 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001039/0.1397, allocations: 24.88 kB / 0.6912 GB, free: 4.766 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.134e-05/0.1398, allocations: 23.42 kB / 0.6912 GB, free: 4.742 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1398, allocations: 0 / 0.6912 GB, free: 4.742 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4172/0.5571, allocations: 2.63 MB / 0.6937 GB, free: 2.281 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002536/0.5574, allocations: 236.1 kB / 0.694 GB, free: 2.023 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/2.233, allocations: 0 / 0.694 GB, free: 2.023 MB / 494.1 MB (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)