Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.411/1.411, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001191/0.001191, allocations: 176 kB / 326.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.035/2.035, allocations: 205 MB / 0.5766 GB, free: 21.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008994/0.0008996, allocations: 97.8 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003402/0.0003402, allocations: 16.5 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2578, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0008319/0.2587, allocations: 383.1 kB / 0.8971 GB, free: 67.81 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001741/0.2604, allocations: 1.515 MB / 0.8986 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.99e-05/0.2605, allocations: 4 kB / 0.8986 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.646e-05/0.2605, allocations: 0 / 0.8986 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.984e-05/0.2606, allocations: 0 / 0.8986 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003352/0.2609, allocations: 99.62 kB / 0.8987 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.57e-05/0.261, allocations: 39.84 kB / 0.8987 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.307e-05/0.261, allocations: 288 / 0.8987 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.539e-05/0.2611, allocations: 15.94 kB / 0.8987 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.703e-05/0.2612, allocations: 15.91 kB / 0.8988 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.2612, allocations: 4 kB / 0.8988 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003755/0.2616, allocations: 315.4 kB / 0.8991 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.2616, allocations: 11.92 kB / 0.8991 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.2616, allocations: 15.86 kB / 0.8991 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.2618, allocations: 135.8 kB / 0.8992 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.2618, allocations: 0 / 0.8992 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.615e-06/0.2618, allocations: 4 kB / 0.8992 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.2618, allocations: 0 / 0.8992 GB, free: 65.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.0004217/0.2623, allocations: 363.3 kB / 0.8996 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.2623, allocations: 8.031 kB / 0.8996 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003523/0.2627, allocations: 76.86 kB / 0.8997 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.2628, allocations: 176.2 kB / 0.8998 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.2628, allocations: 4.375 kB / 0.8998 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.2629, allocations: 4.375 kB / 0.8998 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.2631, allocations: 85.89 kB / 0.8999 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.2631, allocations: 3.984 kB / 0.8999 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.2632, allocations: 4 kB / 0.8999 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.2632, allocations: 7.938 kB / 0.8999 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003199/0.2635, allocations: 79.92 kB / 0.9 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001547/0.2637, allocations: 165.7 kB / 0.9002 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004771/0.2641, allocations: 146.5 kB / 0.9003 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.2643, allocations: 48.95 kB / 0.9003 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.2643, allocations: 3.938 kB / 0.9003 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.2644, allocations: 38.5 kB / 0.9004 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.2644, allocations: 0 / 0.9004 GB, free: 64.28 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.003775/0.2682, allocations: 0.9567 MB / 0.9013 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.2682, allocations: 55.41 kB / 0.9014 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.175e-05/0.2683, allocations: 113.8 kB / 0.9015 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.2683, allocations: 33.7 kB / 0.9015 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.559e-05/0.2683, allocations: 80.14 kB / 0.9016 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.789e-05/0.2684, allocations: 31.64 kB / 0.9016 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/0.2684, allocations: 21.66 kB / 0.9016 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.035e-05/0.2685, allocations: 314.8 kB / 0.9019 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004096/0.2689, allocations: 119.9 kB / 0.9021 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003809/0.2693, allocations: 119.9 kB / 0.9022 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007259/0.27, allocations: 228.7 kB / 0.9024 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.27, allocations: 0 / 0.9024 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008124/0.2708, allocations: 293.3 kB / 0.9027 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.2709, allocations: 4 kB / 0.9027 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2709, allocations: 0 / 0.9027 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.2709, allocations: 0 / 0.9027 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/0.2712, allocations: 67.88 kB / 0.9027 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.2712, allocations: 7.984 kB / 0.9027 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.2714, allocations: 39.97 kB / 0.9028 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.2715, allocations: 7.984 kB / 0.9028 GB, free: 61.76 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.973e-05/0.2715, allocations: 121.8 kB / 0.9029 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.851e-05/0.2716, allocations: 3.906 kB / 0.9029 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.048e-05/0.2716, allocations: 16.38 kB / 0.9029 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.2716, allocations: 3.984 kB / 0.9029 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2716, allocations: 0 / 0.9029 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2716, allocations: 0 / 0.9029 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.2731, allocations: 0.6599 MB / 0.9036 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2731, allocations: 288 / 0.9036 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.2734, allocations: 67.94 kB / 0.9036 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.2734, allocations: 4 kB / 0.9036 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.2734, allocations: 7.922 kB / 0.9036 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2734, allocations: 4 kB / 0.9037 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2734, allocations: 0 / 0.9037 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008044/0.2742, allocations: 388.8 kB / 0.904 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.279e-05/0.2743, allocations: 81.02 kB / 0.9041 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.2743, allocations: 7.984 kB / 0.9041 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.2745, allocations: 48.7 kB / 0.9042 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.2746, allocations: 15.92 kB / 0.9042 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.2746, allocations: 4 kB / 0.9042 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.213e-05/0.2746, allocations: 95.27 kB / 0.9043 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2746, allocations: 0 / 0.9043 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002663/0.2749, allocations: 36 kB / 0.9043 GB, free: 60.1 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 (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.0002039/0.2751, allocations: 131.1 kB / 0.9044 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008175/0.2759, allocations: 247.8 kB / 0.9047 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2759, allocations: 3.938 kB / 0.9047 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003934/0.2763, allocations: 128.6 kB / 0.9048 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.2766, allocations: 11 kB / 0.9048 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.278, allocations: 0.4941 MB / 0.9053 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.2782, allocations: 0.6926 MB / 0.906 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.917e-05/0.2783, allocations: 19.42 kB / 0.906 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of SimCode: time 3.91e-07/0.2783, allocations: 0 / 0.906 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of Templates: time 0.002732/0.281, allocations: 1.45 MB / 0.9074 GB, free: 56.86 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)