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.001111/0.001111, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001136/0.001136, allocations: 192.8 kB / 16.13 MB, free: 6.664 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.153/1.153, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001909/0.001909, allocations: 283.1 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8315/0.8315, allocations: 169.2 MB / 0.4977 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 93.52 kB / 0.5946 GB, free: 28.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1176, allocations: 86.99 MB / 0.6796 GB, free: 1.02 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001382/0.119, allocations: 0.6874 MB / 0.6802 GB, free: 348 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.1204, allocations: 1.478 MB / 0.6817 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.456e-05/0.1204, allocations: 0 / 0.6817 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.307e-05/0.1205, allocations: 0 / 0.6817 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.409e-05/0.1205, allocations: 1.688 kB / 0.6817 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.1208, allocations: 97.28 kB / 0.6818 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.005e-05/0.1208, allocations: 23.92 kB / 0.6818 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.175e-05/0.1209, allocations: 4.609 kB / 0.6818 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.528e-05/0.1209, allocations: 17.38 kB / 0.6818 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.139e-05/0.121, allocations: 19.91 kB / 0.6818 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.121, allocations: 4 kB / 0.6818 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003577/0.1214, allocations: 311.3 kB / 0.6821 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.1214, allocations: 12.5 kB / 0.6821 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.187e-05/0.1214, allocations: 15.92 kB / 0.6822 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.1216, allocations: 191.9 kB / 0.6823 GB, free: 14.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1216, allocations: 0 / 0.6823 GB, free: 14.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.52e-07/0.1217, allocations: 0 / 0.6823 GB, free: 14.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.916e-06/0.1217, allocations: 0 / 0.6823 GB, free: 14.16 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.0004292/0.1221, allocations: 379.4 kB / 0.6827 GB, free: 13.75 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.1221, allocations: 8.031 kB / 0.6827 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.515e-05/0.1222, allocations: 30.75 kB / 0.6827 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003266/0.1225, allocations: 64.77 kB / 0.6828 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.1226, allocations: 168.4 kB / 0.683 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.1226, allocations: 8.375 kB / 0.683 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.1226, allocations: 8.281 kB / 0.683 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.1229, allocations: 77.7 kB / 0.6831 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.1229, allocations: 0 / 0.6831 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-06/0.1229, allocations: 0 / 0.6831 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.1229, allocations: 0 / 0.6831 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003187/0.1232, allocations: 79.91 kB / 0.6831 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001349/0.1234, allocations: 165.7 kB / 0.6833 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004903/0.1239, allocations: 126.5 kB / 0.6834 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.124, allocations: 36.95 kB / 0.6834 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.1241, allocations: 11.98 kB / 0.6835 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.1241, allocations: 42.38 kB / 0.6835 GB, free: 12.81 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1241, allocations: 0 / 0.6835 GB, free: 12.81 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.003576/0.1277, allocations: 0.7783 MB / 0.6843 GB, free: 12.03 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.1277, allocations: 51.41 kB / 0.6843 GB, free: 11.96 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.871e-05/0.1278, allocations: 117.8 kB / 0.6844 GB, free: 11.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.1278, allocations: 29.64 kB / 0.6844 GB, free: 11.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.907e-05/0.1279, allocations: 84.14 kB / 0.6845 GB, free: 11.72 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.1279, allocations: 31.55 kB / 0.6846 GB, free: 11.69 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-05/0.128, allocations: 25.7 kB / 0.6846 GB, free: 11.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.19e-05/0.1281, allocations: 318.8 kB / 0.6849 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003895/0.1284, allocations: 96.27 kB / 0.685 GB, free: 11.24 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000368/0.1288, allocations: 99.89 kB / 0.6851 GB, free: 11.14 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007108/0.1295, allocations: 192.7 kB / 0.6853 GB, free: 10.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.1296, allocations: 7.938 kB / 0.6853 GB, free: 10.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007871/0.1303, allocations: 241.6 kB / 0.6855 GB, free: 10.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.1304, allocations: 4 kB / 0.6855 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1304, allocations: 7.938 kB / 0.6855 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.175e-06/0.1304, allocations: 96 / 0.6855 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002825/0.1307, allocations: 59.81 kB / 0.6856 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.1307, allocations: 4 kB / 0.6856 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.1309, allocations: 35.95 kB / 0.6856 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.1309, allocations: 7.984 kB / 0.6856 GB, free: 10.59 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.29e-05/0.131, allocations: 115.1 kB / 0.6857 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.131, allocations: 8 kB / 0.6857 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.23e-05/0.1311, allocations: 8.375 kB / 0.6857 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1311, allocations: 4 kB / 0.6857 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1311, allocations: 3.984 kB / 0.6857 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.1311, allocations: 0 / 0.6857 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.1325, allocations: 0.5977 MB / 0.6863 GB, free: 9.781 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1325, allocations: 4 kB / 0.6863 GB, free: 9.777 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/0.1327, allocations: 55.94 kB / 0.6864 GB, free: 9.723 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1327, allocations: 4 kB / 0.6864 GB, free: 9.719 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.1328, allocations: 7.984 kB / 0.6864 GB, free: 9.711 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.1328, allocations: 4.078 kB / 0.6864 GB, free: 9.707 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1328, allocations: 7.922 kB / 0.6864 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007917/0.1336, allocations: 336.9 kB / 0.6867 GB, free: 9.348 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.921e-05/0.1336, allocations: 81.11 kB / 0.6868 GB, free: 9.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.1336, allocations: 4 kB / 0.6868 GB, free: 9.246 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.1339, allocations: 39.95 kB / 0.6868 GB, free: 9.207 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.1339, allocations: 11.92 kB / 0.6869 GB, free: 9.195 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.1339, allocations: 4 kB / 0.6869 GB, free: 9.191 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.884e-05/0.134, allocations: 91.27 kB / 0.6869 GB, free: 9.102 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.134, allocations: 0 / 0.6869 GB, free: 9.102 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.1342, allocations: 43.98 kB / 0.687 GB, free: 9.059 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.001067/0.1353, allocations: 0.9051 MB / 0.6879 GB, free: 8.121 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007631/0.1361, allocations: 207.9 kB / 0.6881 GB, free: 7.918 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1361, allocations: 3.938 kB / 0.6881 GB, free: 7.914 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003873/0.1365, allocations: 112 kB / 0.6882 GB, free: 7.805 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.1367, allocations: 12.86 kB / 0.6882 GB, free: 7.793 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003767/0.1405, allocations: 2.131 MB / 0.6903 GB, free: 5.574 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001696/0.1407, allocations: 0.6848 MB / 0.6909 GB, free: 4.863 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001048/0.1408, allocations: 24.66 kB / 0.691 GB, free: 4.836 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.623e-05/0.1408, allocations: 27.42 kB / 0.691 GB, free: 4.809 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1409, allocations: 0 / 0.691 GB, free: 4.809 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.888/2.029, allocations: 2.539 MB / 0.6935 GB, free: 2.418 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/2.029, allocations: 240.4 kB / 0.6937 GB, free: 2.152 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.83/4.859, allocations: 0 / 0.6937 GB, free: 2.152 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)