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.0008554/0.0008556, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005158/0.005158, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.253/1.253, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001698/0.001697, allocations: 270.6 kB / 291.7 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8671/0.8671, allocations: 169.5 MB / 0.5004 GB, free: 14.04 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003883, allocations: 14.09 kB / 0.5988 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1305, allocations: 88.54 MB / 0.6852 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0006016/0.1311, allocations: 361.8 kB / 0.6856 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.1327, allocations: 1.46 MB / 0.687 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.707e-05/0.1327, allocations: 3.438 kB / 0.687 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.328e-05/0.1327, allocations: 0 / 0.687 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.804e-05/0.1328, allocations: 3.938 kB / 0.687 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.1331, allocations: 92.25 kB / 0.6871 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.417e-05/0.1332, allocations: 23.92 kB / 0.6871 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.638e-05/0.1332, allocations: 4.578 kB / 0.6871 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.016e-05/0.1332, allocations: 16.5 kB / 0.6871 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.477e-05/0.1333, allocations: 19.91 kB / 0.6872 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.1333, allocations: 8.625 kB / 0.6872 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003948/0.1337, allocations: 321.1 kB / 0.6875 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.13e-05/0.1337, allocations: 3.938 kB / 0.6875 GB, free: 12.58 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.032e-05/0.1338, allocations: 41.62 kB / 0.6875 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.134, allocations: 191.9 kB / 0.6877 GB, free: 12.35 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.134, allocations: 0 / 0.6877 GB, free: 12.35 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.134, allocations: 1.188 kB / 0.6877 GB, free: 12.35 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.134, allocations: 0 / 0.6877 GB, free: 12.35 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.000382/0.1344, allocations: 364.6 kB / 0.6881 GB, free: 11.95 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.1345, allocations: 9.969 kB / 0.6881 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.867e-05/0.1345, allocations: 38.75 kB / 0.6881 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003367/0.1348, allocations: 72.61 kB / 0.6882 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.135, allocations: 168.4 kB / 0.6883 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.135, allocations: 5.125 kB / 0.6883 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.135, allocations: 8.312 kB / 0.6883 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002374/0.1353, allocations: 87.08 kB / 0.6884 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1353, allocations: 0 / 0.6884 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.1353, allocations: 4 kB / 0.6884 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.1353, allocations: 0 / 0.6884 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003335/0.1356, allocations: 79.92 kB / 0.6885 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.1358, allocations: 174.6 kB / 0.6887 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005051/0.1363, allocations: 156 kB / 0.6888 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.1365, allocations: 48.95 kB / 0.6889 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.1365, allocations: 3.984 kB / 0.6889 GB, free: 11.01 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.1365, allocations: 34.5 kB / 0.6889 GB, free: 10.97 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.1365, allocations: 4 kB / 0.6889 GB, free: 10.96 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.004059/0.1406, allocations: 0.9497 MB / 0.6898 GB, free: 10.01 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.1406, allocations: 51.41 kB / 0.6899 GB, free: 9.945 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.706e-05/0.1407, allocations: 113.8 kB / 0.69 GB, free: 9.824 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.1408, allocations: 25.7 kB / 0.69 GB, free: 9.793 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.1408, allocations: 88.14 kB / 0.6901 GB, free: 9.703 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/0.1409, allocations: 31.55 kB / 0.6901 GB, free: 9.672 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/0.1409, allocations: 13.72 kB / 0.6901 GB, free: 9.652 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.141, allocations: 314.8 kB / 0.6904 GB, free: 9.336 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00042/0.1414, allocations: 119.9 kB / 0.6906 GB, free: 9.219 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000426/0.1419, allocations: 123.9 kB / 0.6907 GB, free: 9.098 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008464/0.1427, allocations: 236.6 kB / 0.6909 GB, free: 8.863 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1427, allocations: 3.938 kB / 0.6909 GB, free: 8.859 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009567/0.1437, allocations: 277.5 kB / 0.6912 GB, free: 8.582 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.1437, allocations: 4 kB / 0.6912 GB, free: 8.578 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.1437, allocations: 0 / 0.6912 GB, free: 8.578 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.1438, allocations: 12.67 kB / 0.6912 GB, free: 8.566 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000327/0.1441, allocations: 71.86 kB / 0.6913 GB, free: 8.496 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.1441, allocations: 0 / 0.6913 GB, free: 8.496 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.1444, allocations: 43.97 kB / 0.6913 GB, free: 8.453 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.1444, allocations: 7.984 kB / 0.6913 GB, free: 8.445 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 0.0001176/0.1445, allocations: 119.1 kB / 0.6914 GB, free: 8.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/0.1446, allocations: 7.906 kB / 0.6914 GB, free: 8.312 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.066e-05/0.1446, allocations: 16.36 kB / 0.6914 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.1446, allocations: 4 kB / 0.6915 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1446, allocations: 0 / 0.6915 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1446, allocations: 0 / 0.6915 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00184/0.1465, allocations: 0.6637 MB / 0.6921 GB, free: 7.566 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1465, allocations: 4.062 kB / 0.6921 GB, free: 7.562 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002543/0.1468, allocations: 63.94 kB / 0.6922 GB, free: 7.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.1468, allocations: 3.984 kB / 0.6922 GB, free: 7.496 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.1468, allocations: 8 kB / 0.6922 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.093e-06/0.1468, allocations: 288 / 0.6922 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1468, allocations: 3.938 kB / 0.6922 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009154/0.1477, allocations: 384.9 kB / 0.6925 GB, free: 7.086 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.1478, allocations: 89 kB / 0.6926 GB, free: 6.98 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.1478, allocations: 0 / 0.6926 GB, free: 6.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.1481, allocations: 47.95 kB / 0.6927 GB, free: 6.934 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.535e-05/0.1481, allocations: 11.92 kB / 0.6927 GB, free: 6.922 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.1482, allocations: 8 kB / 0.6927 GB, free: 6.914 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.548e-05/0.1482, allocations: 95.2 kB / 0.6928 GB, free: 6.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1482, allocations: 4 kB / 0.6928 GB, free: 6.816 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003922/0.1486, allocations: 32 kB / 0.6928 GB, free: 6.785 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.001367/0.15, allocations: 0.9442 MB / 0.6937 GB, free: 5.809 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008819/0.1509, allocations: 247.7 kB / 0.694 GB, free: 5.566 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1509, allocations: 4 kB / 0.694 GB, free: 5.562 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004324/0.1514, allocations: 131.9 kB / 0.6941 GB, free: 5.434 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.1516, allocations: 16.72 kB / 0.6941 GB, free: 5.422 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004403/0.156, allocations: 2.306 MB / 0.6964 GB, free: 3.027 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001919/0.1562, allocations: 0.6848 MB / 0.697 GB, free: 2.316 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.1563, allocations: 24.98 kB / 0.6971 GB, free: 2.289 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.032e-05/0.1564, allocations: 27.41 kB / 0.6971 GB, free: 2.262 MB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1564, allocations: 4 kB / 0.6971 GB, free: 2.258 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.181/1.337, allocations: 2.49 MB / 0.6995 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/1.338, allocations: 241.2 kB / 0.6998 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.271/3.609, allocations: 0 / 0.6998 GB, free: 15.68 MB / 0.4981 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)