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.007126/0.007126, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.00163/0.00163, allocations: 194.2 kB / 16.67 MB, free: 5.969 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002454/0.002454, allocations: 279.6 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.181/1.181, allocations: 178.6 MB / 0.5074 GB, free: 12.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002651/0.002651, allocations: 99.78 kB / 0.6943 GB, free: 15.12 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4275/0.4302, allocations: 89.12 MB / 0.7814 GB, free: 1.145 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001688/0.4319, allocations: 0.6471 MB / 0.782 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001647/0.4336, allocations: 1.445 MB / 0.7834 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.749e-05/0.4336, allocations: 0 / 0.7834 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.558e-05/0.4336, allocations: 3.938 kB / 0.7834 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.91e-05/0.4338, allocations: 13.3 kB / 0.7834 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004128/0.4342, allocations: 117.5 kB / 0.7836 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.239e-05/0.4343, allocations: 24.42 kB / 0.7836 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.005e-05/0.4343, allocations: 6.719 kB / 0.7836 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.86e-05/0.4343, allocations: 17.38 kB / 0.7836 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.841e-05/0.4344, allocations: 22.23 kB / 0.7836 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.4344, allocations: 5.156 kB / 0.7836 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005263/0.435, allocations: 320.5 kB / 0.7839 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.665e-05/0.435, allocations: 5.078 kB / 0.7839 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/0.435, allocations: 15.16 kB / 0.784 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.4353, allocations: 188.3 kB / 0.7841 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4353, allocations: 0 / 0.7841 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4354, allocations: 1.5 kB / 0.7841 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.4354, allocations: 0 / 0.7841 GB, free: 15.05 MB / 0.5606 GB 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.0005244/0.4359, allocations: 390.8 kB / 0.7845 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.4359, allocations: 9.219 kB / 0.7845 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.174e-05/0.436, allocations: 32.25 kB / 0.7845 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003511/0.4363, allocations: 58.48 kB / 0.7846 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.4365, allocations: 177.2 kB / 0.7848 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.4365, allocations: 1.531 kB / 0.7848 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.4366, allocations: 5.609 kB / 0.7848 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.4368, allocations: 77.38 kB / 0.7849 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.4369, allocations: 9.047 kB / 0.7849 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.4369, allocations: 0 / 0.7849 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.4369, allocations: 1.094 kB / 0.7849 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003518/0.4372, allocations: 69.48 kB / 0.7849 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.4374, allocations: 170.8 kB / 0.7851 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005409/0.438, allocations: 123.4 kB / 0.7852 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.4382, allocations: 45.81 kB / 0.7853 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.4382, allocations: 1.625 kB / 0.7853 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.4382, allocations: 38.5 kB / 0.7853 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.452e-06/0.4382, allocations: 1.594 kB / 0.7853 GB, free: 13.93 MB / 0.5606 GB 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.004044/0.4423, allocations: 0.7909 MB / 0.7861 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.4423, allocations: 56.7 kB / 0.7861 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.4425, allocations: 114.1 kB / 0.7862 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.4425, allocations: 25.7 kB / 0.7863 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.142e-05/0.4426, allocations: 85.42 kB / 0.7863 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.4426, allocations: 27.47 kB / 0.7864 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.598e-05/0.4427, allocations: 25.58 kB / 0.7864 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.4428, allocations: 325.1 kB / 0.7867 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004544/0.4433, allocations: 96.45 kB / 0.7868 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004266/0.4437, allocations: 93.25 kB / 0.7869 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008354/0.4446, allocations: 202.8 kB / 0.7871 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.4446, allocations: 4.125 kB / 0.7871 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009175/0.4455, allocations: 243 kB / 0.7873 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.4455, allocations: 4.656 kB / 0.7873 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.4455, allocations: 5.094 kB / 0.7873 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.4456, allocations: 0 / 0.7873 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.4459, allocations: 62.86 kB / 0.7874 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.4459, allocations: 1.688 kB / 0.7874 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.4461, allocations: 36.83 kB / 0.7874 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.4461, allocations: 2.312 kB / 0.7874 GB, free: 12.57 MB / 0.5606 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 0.0001003/0.4463, allocations: 116.5 kB / 0.7875 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.4463, allocations: 6.547 kB / 0.7875 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.864e-05/0.4463, allocations: 15.08 kB / 0.7875 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.4463, allocations: 0 / 0.7875 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.4464, allocations: 4.906 kB / 0.7875 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.4464, allocations: 3.938 kB / 0.7876 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/0.4481, allocations: 0.5912 MB / 0.7881 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.4481, allocations: 5.125 kB / 0.7881 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.4484, allocations: 54.62 kB / 0.7882 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.4484, allocations: 1.156 kB / 0.7882 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.4484, allocations: 3.344 kB / 0.7882 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.4484, allocations: 1.219 kB / 0.7882 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/0.4485, allocations: 9.469 kB / 0.7882 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009477/0.4494, allocations: 342.8 kB / 0.7885 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.031e-05/0.4495, allocations: 91.55 kB / 0.7886 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.4495, allocations: 1.312 kB / 0.7886 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.4497, allocations: 33.17 kB / 0.7886 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.4498, allocations: 20.83 kB / 0.7887 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.4498, allocations: 7.375 kB / 0.7887 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.597e-05/0.4499, allocations: 92.23 kB / 0.7888 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4499, allocations: 0 / 0.7888 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000296/0.4502, allocations: 34.94 kB / 0.7888 GB, free: 11.45 MB / 0.5606 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.001497/0.4517, allocations: 0.8975 MB / 0.7897 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009784/0.4527, allocations: 208.4 kB / 0.7899 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4527, allocations: 4 kB / 0.7899 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004472/0.4532, allocations: 108.3 kB / 0.79 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.4534, allocations: 14.12 kB / 0.79 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004882/0.4583, allocations: 2.135 MB / 0.7921 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.4587, allocations: 0.6879 MB / 0.7927 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001282/0.4589, allocations: 28.31 kB / 0.7928 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.459, allocations: 23.11 kB / 0.7928 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of SimCode: time 5.51e-07/0.459, allocations: 3.938 kB / 0.7928 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02336/0.4824, allocations: 2.756 MB / 0.7955 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.869/8.351, allocations: 16.22 kB / 0.7955 GB, free: 6.715 MB / 0.5606 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)