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.001243/0.001244, allocations: 91.22 kB / 15.06 MB, free: 1.098 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.001598/0.001598, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.758/1.758, allocations: 205.4 MB / 222.1 MB, free: 5.879 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.742/1.742, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005455/0.0005456, allocations: 18.47 kB / 0.6738 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2612, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0007981/0.262, allocations: 363.5 kB / 0.7878 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001899/0.2639, allocations: 1.43 MB / 0.7891 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.153e-05/0.264, allocations: 0 / 0.7891 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.384e-05/0.264, allocations: 3.938 kB / 0.7892 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.886e-05/0.2641, allocations: 8 kB / 0.7892 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/0.2644, allocations: 87.7 kB / 0.7892 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.705e-05/0.2645, allocations: 23.91 kB / 0.7893 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.841e-05/0.2646, allocations: 7.984 kB / 0.7893 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.336e-05/0.2646, allocations: 11.94 kB / 0.7893 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.624e-05/0.2647, allocations: 27.91 kB / 0.7893 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.2647, allocations: 0 / 0.7893 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004564/0.2652, allocations: 307.3 kB / 0.7896 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.2652, allocations: 4 kB / 0.7896 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.548e-05/0.2652, allocations: 33.58 kB / 0.7896 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.2654, allocations: 144.1 kB / 0.7898 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2654, allocations: 0 / 0.7898 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2654, allocations: 0 / 0.7898 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.646e-06/0.2654, allocations: 0 / 0.7898 GB, free: 9.359 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.0004334/0.2659, allocations: 363.2 kB / 0.7901 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.2659, allocations: 12.03 kB / 0.7901 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.572e-05/0.266, allocations: 34.56 kB / 0.7902 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003316/0.2663, allocations: 71.83 kB / 0.7902 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.2664, allocations: 179 kB / 0.7904 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.2665, allocations: 4 kB / 0.7904 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.2665, allocations: 4 kB / 0.7904 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.2667, allocations: 85.58 kB / 0.7905 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.2667, allocations: 0 / 0.7905 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.2668, allocations: 0 / 0.7905 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2668, allocations: 0 / 0.7905 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003027/0.2671, allocations: 87.92 kB / 0.7906 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.2673, allocations: 173.6 kB / 0.7907 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000461/0.2677, allocations: 146.5 kB / 0.7909 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.2679, allocations: 48.95 kB / 0.7909 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.2679, allocations: 3.938 kB / 0.7909 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.2679, allocations: 34.56 kB / 0.791 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 2.284e-06/0.2679, allocations: 3.984 kB / 0.791 GB, free: 7.961 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.003561/0.2715, allocations: 0.9536 MB / 0.7919 GB, free: 7 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.2716, allocations: 51.41 kB / 0.792 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.203e-05/0.2716, allocations: 125.7 kB / 0.7921 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.2717, allocations: 25.7 kB / 0.7921 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.138e-05/0.2717, allocations: 84.14 kB / 0.7922 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.2718, allocations: 39.53 kB / 0.7922 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.148e-06/0.2718, allocations: 0 / 0.7922 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.2719, allocations: 318.8 kB / 0.7925 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003607/0.2722, allocations: 115.9 kB / 0.7926 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003649/0.2726, allocations: 119.9 kB / 0.7927 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003432/0.273, allocations: 111.9 kB / 0.7929 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.273, allocations: 0 / 0.7929 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007875/0.2738, allocations: 285.4 kB / 0.7931 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.2738, allocations: 4 kB / 0.7931 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2738, allocations: 0 / 0.7931 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.2738, allocations: 0 / 0.7931 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002893/0.2741, allocations: 63.94 kB / 0.7932 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.2741, allocations: 0 / 0.7932 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/0.2743, allocations: 51.95 kB / 0.7932 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.2744, allocations: 11.94 kB / 0.7933 GB, free: 5.574 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.668e-05/0.2745, allocations: 118.4 kB / 0.7934 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.2745, allocations: 7.906 kB / 0.7934 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.988e-05/0.2745, allocations: 12.38 kB / 0.7934 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2745, allocations: 0 / 0.7934 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.2745, allocations: 0.75 kB / 0.7934 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.2745, allocations: 0 / 0.7934 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.2761, allocations: 0.6599 MB / 0.794 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.2761, allocations: 0 / 0.794 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.2763, allocations: 71.94 kB / 0.7941 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.2763, allocations: 4 kB / 0.7941 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.2764, allocations: 11.94 kB / 0.7941 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.2764, allocations: 4 kB / 0.7941 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2764, allocations: 0 / 0.7941 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008397/0.2772, allocations: 377.2 kB / 0.7945 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.176e-05/0.2773, allocations: 89.02 kB / 0.7946 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.2773, allocations: 3.938 kB / 0.7946 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.2775, allocations: 51.91 kB / 0.7946 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.252e-05/0.2776, allocations: 7.984 kB / 0.7946 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.2776, allocations: 11.98 kB / 0.7946 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.303e-05/0.2777, allocations: 91.28 kB / 0.7947 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2777, allocations: 0 / 0.7947 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002769/0.2779, allocations: 39.98 kB / 0.7948 GB, free: 3.918 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001179/0.2791, allocations: 0.9394 MB / 0.7957 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007946/0.2799, allocations: 251.7 kB / 0.7959 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2799, allocations: 0 / 0.7959 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000384/0.2803, allocations: 128 kB / 0.796 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.2806, allocations: 11.94 kB / 0.796 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002855/0.2835, allocations: 1.149 MB / 0.7972 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.2837, allocations: 0.6888 MB / 0.7978 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001185/0.2838, allocations: 21.83 kB / 0.7979 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.157e-05/0.2839, allocations: 31.34 kB / 0.7979 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of SimCode: time 1.353e-06/0.2839, allocations: 0 / 0.7979 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01404/0.298, allocations: 2.438 MB / 0.8003 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/0.2982, allocations: 192.4 kB / 0.8005 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.963/2.261, allocations: 0 / 0.8005 GB, free: 14.08 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) Environment - environmentSimulation: