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: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 109.3 kB / 15.99 MB, free: 5.914 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.001139/0.001139, allocations: 194.6 kB / 16.91 MB, free: 5.758 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.335/1.335, allocations: 205.1 MB / 222.8 MB, free: 12.43 MB / 190.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.771/1.771, allocations: 292.3 MB / 0.5492 GB, free: 17.61 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.001642/0.001642, allocations: 83.02 kB / 0.6717 GB, free: 6.887 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2586, allocations: 114.5 MB / 0.7835 GB, free: 4.227 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002684/0.2613, allocations: 0.694 MB / 0.7842 GB, free: 3.523 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002606/0.264, allocations: 1.482 MB / 0.7856 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.225e-05/0.264, allocations: 4 kB / 0.7856 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.596e-05/0.2641, allocations: 3.938 kB / 0.7856 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.302e-05/0.2642, allocations: 7.984 kB / 0.7857 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005585/0.2648, allocations: 95.7 kB / 0.7857 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.318e-05/0.2648, allocations: 31.86 kB / 0.7858 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.955e-05/0.2649, allocations: 3.984 kB / 0.7858 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.778e-05/0.265, allocations: 19.92 kB / 0.7858 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.216e-05/0.265, allocations: 19.92 kB / 0.7858 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.2651, allocations: 4 kB / 0.7858 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005147/0.2656, allocations: 319.3 kB / 0.7861 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.2656, allocations: 3.984 kB / 0.7861 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.232e-05/0.2656, allocations: 19.81 kB / 0.7862 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002657/0.2659, allocations: 132.1 kB / 0.7863 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.2659, allocations: 3.984 kB / 0.7863 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2659, allocations: 0 / 0.7863 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.266, allocations: 0 / 0.7863 GB, free: 1.367 MB / 0.6544 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.0006129/0.2666, allocations: 375.4 kB / 0.7866 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.2666, allocations: 12.03 kB / 0.7867 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004142/0.267, allocations: 60.77 kB / 0.7867 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.2672, allocations: 172.4 kB / 0.7869 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.2672, allocations: 4.375 kB / 0.7869 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.2673, allocations: 4.281 kB / 0.7869 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/0.2676, allocations: 73.95 kB / 0.787 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.2676, allocations: 4 kB / 0.787 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.2676, allocations: 4 kB / 0.787 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.2676, allocations: 3.984 kB / 0.787 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000351/0.268, allocations: 75.86 kB / 0.787 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001994/0.2682, allocations: 165.7 kB / 0.7872 GB, free: 300 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005294/0.2687, allocations: 122.5 kB / 0.7873 GB, free: 168 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.2689, allocations: 48.95 kB / 0.7874 GB, free: 116 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.2689, allocations: 0 / 0.7874 GB, free: 116 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.269, allocations: 34.5 kB / 0.7874 GB, free: 72 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 2.845e-06/0.269, allocations: 0 / 0.7874 GB, free: 72 kB / 0.6544 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.3729/0.6419, allocations: 0.7876 MB / 0.7882 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.6419, allocations: 52.25 kB / 0.7882 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.772e-05/0.642, allocations: 118.6 kB / 0.7883 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.642, allocations: 25.7 kB / 0.7883 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.598e-05/0.6421, allocations: 84.89 kB / 0.7884 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.6421, allocations: 34.39 kB / 0.7885 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.353e-05/0.6422, allocations: 27.61 kB / 0.7885 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.857e-05/0.6423, allocations: 320.7 kB / 0.7888 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003799/0.6427, allocations: 93.69 kB / 0.7889 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000383/0.6431, allocations: 101.6 kB / 0.789 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007265/0.6438, allocations: 193.3 kB / 0.7892 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6438, allocations: 0 / 0.7892 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008227/0.6446, allocations: 242.8 kB / 0.7894 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.6447, allocations: 7.781 kB / 0.7894 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.6447, allocations: 4 kB / 0.7894 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.6447, allocations: 1.406 kB / 0.7894 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/0.645, allocations: 49.16 kB / 0.7895 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.645, allocations: 3.5 kB / 0.7895 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.6452, allocations: 36.48 kB / 0.7895 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.6453, allocations: 6.016 kB / 0.7895 GB, free: 48.21 MB / 0.6544 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 7.564e-05/0.6453, allocations: 121.9 kB / 0.7896 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.6454, allocations: 13.84 kB / 0.7896 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.413e-05/0.6454, allocations: 9.844 kB / 0.7896 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.6454, allocations: 0 / 0.7896 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.6454, allocations: 2.406 kB / 0.7896 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.6455, allocations: 2.953 kB / 0.7896 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/0.647, allocations: 0.6063 MB / 0.7902 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.647, allocations: 2.719 kB / 0.7902 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002348/0.6472, allocations: 53.61 kB / 0.7903 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.6472, allocations: 2.625 kB / 0.7903 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.6473, allocations: 3.281 kB / 0.7903 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.6473, allocations: 3 kB / 0.7903 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.6473, allocations: 3.938 kB / 0.7903 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008085/0.6481, allocations: 347.7 kB / 0.7906 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.782e-05/0.6481, allocations: 84.92 kB / 0.7907 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.6481, allocations: 2.484 kB / 0.7907 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.6484, allocations: 37.48 kB / 0.7908 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.6484, allocations: 18.44 kB / 0.7908 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.6484, allocations: 2.625 kB / 0.7908 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.459e-05/0.6485, allocations: 89.03 kB / 0.7909 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6485, allocations: 0 / 0.7909 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002968/0.6488, allocations: 38.41 kB / 0.7909 GB, free: 47.4 MB / 0.6544 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.0002044/0.649, allocations: 129.4 kB / 0.791 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008114/0.6498, allocations: 212 kB / 0.7912 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.6498, allocations: 2.156 kB / 0.7912 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003777/0.6502, allocations: 108.3 kB / 0.7913 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.6505, allocations: 11.22 kB / 0.7913 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.6518, allocations: 437.6 kB / 0.7918 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.6519, allocations: 0.6888 MB / 0.7924 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.737e-05/0.652, allocations: 18.02 kB / 0.7924 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of SimCode: time 6.01e-07/0.652, allocations: 4 kB / 0.7924 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of Templates: time 0.003211/0.6553, allocations: 1.436 MB / 0.7938 GB, free: 46.33 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (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 & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)