Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.437/2.437, allocations: 251.3 MB / 266.2 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001291/0.001291, allocations: 192.3 kB / 325.8 MB, free: 2.801 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.371/2.371, allocations: 205.4 MB / 0.5767 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009897/0.0009894, allocations: 89.17 kB / 0.6812 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004683/0.0004685, allocations: 11.97 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2141, allocations: 106.3 MB / 0.8991 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.000847/0.215, allocations: 370.1 kB / 0.8994 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002058/0.2171, allocations: 1.426 MB / 0.9008 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.915e-05/0.2171, allocations: 3.938 kB / 0.9008 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.293e-05/0.2172, allocations: 7.938 kB / 0.9008 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.289e-05/0.2173, allocations: 7.984 kB / 0.9008 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004625/0.2177, allocations: 93.56 kB / 0.9009 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.759e-05/0.2178, allocations: 19.92 kB / 0.9009 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.508e-05/0.2179, allocations: 4 kB / 0.9009 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.838e-05/0.2179, allocations: 15.92 kB / 0.9009 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.423e-05/0.218, allocations: 19.92 kB / 0.901 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.218, allocations: 0 / 0.901 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005922/0.2186, allocations: 307.4 kB / 0.9013 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.2186, allocations: 15.92 kB / 0.9013 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.074e-05/0.2187, allocations: 25.7 kB / 0.9013 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.2189, allocations: 127.9 kB / 0.9014 GB, free: 63 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.219, allocations: 0 / 0.9014 GB, free: 63 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.974e-06/0.219, allocations: 0 / 0.9014 GB, free: 63 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.858e-06/0.219, allocations: 0 / 0.9014 GB, free: 63 MB / 0.6042 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.000507/0.2195, allocations: 379.6 kB / 0.9018 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.2196, allocations: 12.03 kB / 0.9018 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005832/0.2202, allocations: 68.86 kB / 0.9019 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.2203, allocations: 172.3 kB / 0.902 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.2203, allocations: 4.375 kB / 0.902 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.2204, allocations: 384 / 0.902 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003949/0.2208, allocations: 85.89 kB / 0.9021 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.2208, allocations: 7.906 kB / 0.9021 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.2208, allocations: 4 kB / 0.9021 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.2208, allocations: 0 / 0.9021 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006299/0.2215, allocations: 91.84 kB / 0.9022 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002151/0.2217, allocations: 169.7 kB / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009623/0.2227, allocations: 142.4 kB / 0.9025 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003246/0.223, allocations: 48.95 kB / 0.9025 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.2231, allocations: 0 / 0.9025 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.2231, allocations: 42.48 kB / 0.9026 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.563e-06/0.2231, allocations: 0 / 0.9026 GB, free: 61.63 MB / 0.6042 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.007648/0.2308, allocations: 0.9503 MB / 0.9035 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.2309, allocations: 59.34 kB / 0.9036 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.996e-05/0.231, allocations: 109.8 kB / 0.9037 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.231, allocations: 25.7 kB / 0.9037 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.856e-05/0.231, allocations: 84.14 kB / 0.9038 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.005e-05/0.2311, allocations: 35.55 kB / 0.9038 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.527e-05/0.2311, allocations: 0 / 0.9038 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.02e-05/0.2312, allocations: 318.8 kB / 0.9041 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007836/0.232, allocations: 115.9 kB / 0.9042 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007772/0.2328, allocations: 115.9 kB / 0.9043 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008057/0.2336, allocations: 115.9 kB / 0.9045 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2336, allocations: 0 / 0.9045 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001684/0.2353, allocations: 289.5 kB / 0.9047 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.2354, allocations: 8 kB / 0.9047 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.2354, allocations: 0 / 0.9047 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/0.2354, allocations: 7.984 kB / 0.9047 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005532/0.236, allocations: 63.94 kB / 0.9048 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.236, allocations: 3.984 kB / 0.9048 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004298/0.2364, allocations: 48.28 kB / 0.9049 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.2365, allocations: 7.984 kB / 0.9049 GB, free: 59.25 MB / 0.6042 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 9.772e-05/0.2366, allocations: 117.8 kB / 0.905 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.2366, allocations: 4 kB / 0.905 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.521e-05/0.2367, allocations: 12.31 kB / 0.905 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.2367, allocations: 7.984 kB / 0.905 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2367, allocations: 0 / 0.905 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2367, allocations: 0 / 0.905 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002803/0.2395, allocations: 0.6637 MB / 0.9056 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.2396, allocations: 0 / 0.9056 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004933/0.2401, allocations: 67.94 kB / 0.9057 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/0.2401, allocations: 0 / 0.9057 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.2401, allocations: 7.984 kB / 0.9057 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.2401, allocations: 0 / 0.9057 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.2402, allocations: 4 kB / 0.9057 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/0.2419, allocations: 384.8 kB / 0.9061 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.673e-05/0.2419, allocations: 81.11 kB / 0.9062 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.242, allocations: 3.984 kB / 0.9062 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004491/0.2424, allocations: 47.97 kB / 0.9062 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.386e-05/0.2425, allocations: 15.91 kB / 0.9062 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.2425, allocations: 4 kB / 0.9062 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.482e-05/0.2426, allocations: 95.27 kB / 0.9063 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2426, allocations: 0 / 0.9063 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003805/0.243, allocations: 43.94 kB / 0.9064 GB, free: 57.59 MB / 0.6042 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.0002355/0.2432, allocations: 127.2 kB / 0.9065 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001677/0.2449, allocations: 251.8 kB / 0.9067 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.245, allocations: 0 / 0.9067 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008359/0.2458, allocations: 131.9 kB / 0.9069 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.2461, allocations: 8 kB / 0.9069 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/0.2489, allocations: 479.9 kB / 0.9073 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.2491, allocations: 0.6887 MB / 0.908 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001924/0.2493, allocations: 25.67 kB / 0.908 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.2494, allocations: 19.42 kB / 0.908 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of SimCode: time 9.82e-07/0.2494, allocations: 0 / 0.908 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of Templates: time 0.005186/0.2546, allocations: 1.551 MB / 0.9096 GB, free: 54.27 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)