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.001248/0.001248, allocations: 108 kB / 15.6 MB, free: 132 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.001213/0.001213, allocations: 199.2 kB / 16.54 MB, free: 6.672 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.347/1.347, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002428/0.002428, allocations: 282.9 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.034/1.034, allocations: 178.6 MB / 0.5073 GB, free: 4.562 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002689/0.002689, allocations: 100.9 kB / 0.6066 GB, free: 24.78 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1488, allocations: 89.15 MB / 0.6936 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001897/0.1508, allocations: 0.6346 MB / 0.6942 GB, free: 3.598 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.1526, allocations: 1.45 MB / 0.6956 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.96e-05/0.1527, allocations: 0 / 0.6956 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.785e-05/0.1527, allocations: 7.938 kB / 0.6957 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.243e-05/0.1528, allocations: 8.578 kB / 0.6957 GB, free: 2.117 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.1532, allocations: 125 kB / 0.6958 GB, free: 1.996 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.711e-05/0.1533, allocations: 27.97 kB / 0.6958 GB, free: 1.969 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.259e-05/0.1533, allocations: 8 kB / 0.6958 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.56e-05/0.1533, allocations: 15.92 kB / 0.6958 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.082e-05/0.1534, allocations: 19.86 kB / 0.6959 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.1534, allocations: 4 kB / 0.6959 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004676/0.1539, allocations: 319.3 kB / 0.6962 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.293e-05/0.1539, allocations: 3.938 kB / 0.6962 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.604e-05/0.154, allocations: 15.92 kB / 0.6962 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.1542, allocations: 187.9 kB / 0.6964 GB, free: 1.406 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1543, allocations: 4 kB / 0.6964 GB, free: 1.402 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1543, allocations: 0 / 0.6964 GB, free: 1.402 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.1543, allocations: 0 / 0.6964 GB, free: 1.402 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.000516/0.1548, allocations: 383.2 kB / 0.6967 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.1548, allocations: 8.031 kB / 0.6967 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.606e-05/0.1549, allocations: 30.75 kB / 0.6968 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003717/0.1552, allocations: 64.86 kB / 0.6968 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.1554, allocations: 172.2 kB / 0.697 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.1554, allocations: 384 / 0.697 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.1554, allocations: 4.375 kB / 0.697 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.1557, allocations: 81.77 kB / 0.6971 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1557, allocations: 0 / 0.6971 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.1557, allocations: 0 / 0.6971 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.175e-06/0.1558, allocations: 0 / 0.6971 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003581/0.1561, allocations: 75.91 kB / 0.6971 GB, free: 0.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/0.1563, allocations: 173.6 kB / 0.6973 GB, free: 288 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005398/0.1569, allocations: 126.4 kB / 0.6974 GB, free: 152 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.157, allocations: 40.94 kB / 0.6975 GB, free: 108 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.1571, allocations: 8 kB / 0.6975 GB, free: 100 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/0.1571, allocations: 38.5 kB / 0.6975 GB, free: 52 kB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.1571, allocations: 0 / 0.6975 GB, free: 52 kB / 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.004064/0.1612, allocations: 0.7835 MB / 0.6983 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.1612, allocations: 51.41 kB / 0.6983 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.327e-05/0.1613, allocations: 109.8 kB / 0.6984 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.1614, allocations: 33.7 kB / 0.6985 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.042e-05/0.1614, allocations: 84.22 kB / 0.6985 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/0.1615, allocations: 31.5 kB / 0.6986 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.788e-05/0.1615, allocations: 25.7 kB / 0.6986 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1617, allocations: 322.8 kB / 0.6989 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004251/0.1621, allocations: 91.91 kB / 0.699 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004216/0.1625, allocations: 99.89 kB / 0.6991 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008362/0.1634, allocations: 196.6 kB / 0.6993 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1634, allocations: 3.938 kB / 0.6993 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00092/0.1643, allocations: 241.3 kB / 0.6995 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1643, allocations: 4 kB / 0.6995 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.1644, allocations: 7.984 kB / 0.6995 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1644, allocations: 3.938 kB / 0.6995 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/0.1647, allocations: 51.94 kB / 0.6996 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1647, allocations: 8 kB / 0.6996 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.1649, allocations: 27.97 kB / 0.6996 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.165, allocations: 7.984 kB / 0.6996 GB, free: 13.83 MB / 0.4981 GB 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.756e-05/0.165, allocations: 117.8 kB / 0.6997 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.1651, allocations: 7.906 kB / 0.6997 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.299e-05/0.1651, allocations: 12.31 kB / 0.6998 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1651, allocations: 4 kB / 0.6998 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1651, allocations: 0 / 0.6998 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.1652, allocations: 3.984 kB / 0.6998 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/0.1668, allocations: 0.598 MB / 0.7003 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1668, allocations: 4 kB / 0.7003 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002651/0.1671, allocations: 52 kB / 0.7004 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1671, allocations: 7.938 kB / 0.7004 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.1671, allocations: 0 / 0.7004 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.1671, allocations: 4 kB / 0.7004 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1671, allocations: 4.016 kB / 0.7004 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.1682, allocations: 344.9 kB / 0.7007 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.955e-05/0.1682, allocations: 85.02 kB / 0.7008 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.1683, allocations: 3.984 kB / 0.7008 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.1685, allocations: 35.97 kB / 0.7009 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.1686, allocations: 19.86 kB / 0.7009 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.1686, allocations: 8.359 kB / 0.7009 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.399e-05/0.1686, allocations: 87.28 kB / 0.701 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1686, allocations: 0 / 0.701 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002803/0.1689, allocations: 39.98 kB / 0.701 GB, free: 12.3 MB / 0.4981 GB 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.001388/0.1703, allocations: 0.8975 MB / 0.7019 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009237/0.1713, allocations: 207.7 kB / 0.7021 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.1713, allocations: 0 / 0.7021 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004482/0.1717, allocations: 111.9 kB / 0.7022 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.172, allocations: 15.94 kB / 0.7022 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004643/0.1766, allocations: 2.125 MB / 0.7043 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.1769, allocations: 0.6852 MB / 0.705 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001104/0.1771, allocations: 24.66 kB / 0.705 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.1772, allocations: 27.42 kB / 0.705 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.1772, allocations: 0 / 0.705 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/0.1998, allocations: 2.721 MB / 0.7077 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.377/7.577, allocations: 11.3 kB / 0.7077 GB, free: 5.457 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)