Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_8_Buildings_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.001154/0.001153, allocations: 109.4 kB / 15.69 MB, free: 128 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.001283/0.001283, allocations: 189.5 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.683/1.683, allocations: 292.3 MB / 0.549 GB, free: 12.76 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 69.58 kB / 0.6718 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2399, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002048/0.242, allocations: 0.6404 MB / 0.7843 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001991/0.244, allocations: 1.486 MB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.593e-05/0.2441, allocations: 0 / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.157e-05/0.2442, allocations: 3.938 kB / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.809e-05/0.2443, allocations: 7.922 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005347/0.2448, allocations: 127.5 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.985e-05/0.2449, allocations: 19.98 kB / 0.7859 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.384e-05/0.245, allocations: 4 kB / 0.7859 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.517e-05/0.245, allocations: 15.91 kB / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.844e-05/0.2451, allocations: 27.8 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.2451, allocations: 0 / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005018/0.2456, allocations: 323.3 kB / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.985e-05/0.2457, allocations: 4 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.021e-05/0.2457, allocations: 11.92 kB / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003108/0.246, allocations: 191.8 kB / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.246, allocations: 0 / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.763e-06/0.246, allocations: 0 / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.2461, allocations: 4 kB / 0.7864 GB, free: 10.41 MB / 0.6075 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.0006013/0.2467, allocations: 379.3 kB / 0.7868 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.2467, allocations: 12.03 kB / 0.7868 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.61e-05/0.2468, allocations: 34.75 kB / 0.7868 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003785/0.2471, allocations: 64.86 kB / 0.7869 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.2473, allocations: 172.2 kB / 0.787 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.2473, allocations: 384 / 0.787 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.2474, allocations: 4.375 kB / 0.7871 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002641/0.2476, allocations: 73.77 kB / 0.7871 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.2477, allocations: 4 kB / 0.7871 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.2477, allocations: 4 kB / 0.7871 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.2477, allocations: 0 / 0.7871 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003422/0.248, allocations: 71.91 kB / 0.7872 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000193/0.2482, allocations: 169.7 kB / 0.7874 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005273/0.2488, allocations: 126.4 kB / 0.7875 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.249, allocations: 44.94 kB / 0.7875 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.249, allocations: 7.938 kB / 0.7875 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.249, allocations: 38.5 kB / 0.7876 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.572e-06/0.249, allocations: 0 / 0.7876 GB, free: 9.059 MB / 0.6075 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.003963/0.253, allocations: 0.7817 MB / 0.7883 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.2531, allocations: 59.41 kB / 0.7884 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.32e-05/0.2532, allocations: 113.8 kB / 0.7885 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.2532, allocations: 29.7 kB / 0.7885 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.749e-05/0.2532, allocations: 84.12 kB / 0.7886 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.039e-05/0.2533, allocations: 27.56 kB / 0.7886 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.024e-05/0.2533, allocations: 29.7 kB / 0.7887 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.2535, allocations: 318.8 kB / 0.789 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004109/0.2539, allocations: 95.91 kB / 0.7891 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004153/0.2543, allocations: 95.89 kB / 0.7891 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007972/0.2551, allocations: 196.6 kB / 0.7893 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.2551, allocations: 3.938 kB / 0.7893 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008853/0.256, allocations: 245.6 kB / 0.7896 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.256, allocations: 4.938 kB / 0.7896 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.2561, allocations: 4.078 kB / 0.7896 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.2561, allocations: 3.938 kB / 0.7896 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000307/0.2564, allocations: 56.69 kB / 0.7896 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.2564, allocations: 0 / 0.7896 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/0.2566, allocations: 35.97 kB / 0.7897 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.2567, allocations: 3.984 kB / 0.7897 GB, free: 6.836 MB / 0.6075 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.688e-05/0.2567, allocations: 118.4 kB / 0.7898 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.2568, allocations: 7.906 kB / 0.7898 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.494e-05/0.2568, allocations: 8.375 kB / 0.7898 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.2568, allocations: 0 / 0.7898 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.2569, allocations: 11.98 kB / 0.7898 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.2569, allocations: 0 / 0.7898 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.2585, allocations: 0.5974 MB / 0.7904 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.2585, allocations: 0 / 0.7904 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.2588, allocations: 59.98 kB / 0.7905 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.2588, allocations: 0 / 0.7905 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.2588, allocations: 4 kB / 0.7905 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.2589, allocations: 0 / 0.7905 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.2589, allocations: 11.88 kB / 0.7905 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009128/0.2598, allocations: 340.9 kB / 0.7908 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.913e-05/0.2598, allocations: 85.02 kB / 0.7909 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.2599, allocations: 7.922 kB / 0.7909 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.2601, allocations: 39.97 kB / 0.7909 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.2602, allocations: 11.92 kB / 0.7909 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.2602, allocations: 7.984 kB / 0.7909 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.34e-05/0.2602, allocations: 95.66 kB / 0.791 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2603, allocations: 0 / 0.791 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003185/0.2606, allocations: 43.98 kB / 0.7911 GB, free: 5.289 MB / 0.6075 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.001327/0.2619, allocations: 0.8897 MB / 0.7919 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009262/0.2629, allocations: 211.8 kB / 0.7921 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2629, allocations: 0 / 0.7921 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004335/0.2633, allocations: 112 kB / 0.7923 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.2636, allocations: 11.94 kB / 0.7923 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004508/0.2681, allocations: 2.133 MB / 0.7943 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.2683, allocations: 0.6846 MB / 0.795 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001049/0.2684, allocations: 20.67 kB / 0.795 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.347e-05/0.2685, allocations: 27.41 kB / 0.7951 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of SimCode: time 1.232e-06/0.2685, allocations: 0 / 0.7951 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0183/0.2868, allocations: 2.725 MB / 0.7977 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.346/7.632, allocations: 3.5 kB / 0.7977 GB, free: 14.45 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)