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.001489/0.001489, allocations: 101.6 kB / 16.27 MB, free: 6.418 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.001684/0.001684, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.478/1.478, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.774/1.774, allocations: 292.3 MB / 0.5495 GB, free: 17.49 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.001442/0.001442, allocations: 80.31 kB / 0.6722 GB, free: 6.508 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2805, allocations: 114.6 MB / 0.784 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002066/0.2826, allocations: 0.6292 MB / 0.7847 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001876/0.2845, allocations: 1.486 MB / 0.7861 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.747e-05/0.2845, allocations: 0 / 0.7861 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.644e-05/0.2846, allocations: 3.938 kB / 0.7861 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.9e-05/0.2847, allocations: 11.92 kB / 0.7861 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004077/0.2851, allocations: 115.5 kB / 0.7862 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.266e-05/0.2851, allocations: 27.92 kB / 0.7863 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.581e-05/0.2852, allocations: 7.984 kB / 0.7863 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.782e-05/0.2852, allocations: 7.938 kB / 0.7863 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.192e-05/0.2853, allocations: 23.91 kB / 0.7863 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.2853, allocations: 4 kB / 0.7863 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00047/0.2858, allocations: 323.2 kB / 0.7866 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.2858, allocations: 4 kB / 0.7866 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/0.2859, allocations: 11.92 kB / 0.7866 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002768/0.2862, allocations: 195.8 kB / 0.7868 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2862, allocations: 0 / 0.7868 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2862, allocations: 0 / 0.7868 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.2862, allocations: 0 / 0.7868 GB, free: 0.9688 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.0005433/0.2868, allocations: 383.3 kB / 0.7872 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.2868, allocations: 12.03 kB / 0.7872 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003826/0.2872, allocations: 64.77 kB / 0.7872 GB, free: 484 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.2873, allocations: 172.4 kB / 0.7874 GB, free: 272 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.2874, allocations: 4.375 kB / 0.7874 GB, free: 268 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.2874, allocations: 8.219 kB / 0.7874 GB, free: 260 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.2877, allocations: 77.95 kB / 0.7875 GB, free: 176 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.2877, allocations: 0 / 0.7875 GB, free: 176 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.2877, allocations: 4 kB / 0.7875 GB, free: 172 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2877, allocations: 0 / 0.7875 GB, free: 172 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003456/0.2881, allocations: 71.92 kB / 0.7876 GB, free: 100 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5132/0.8013, allocations: 161.5 kB / 0.7877 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006182/0.8019, allocations: 127 kB / 0.7878 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.8021, allocations: 45.56 kB / 0.7879 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.8022, allocations: 1.766 kB / 0.7879 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.8022, allocations: 33.81 kB / 0.7879 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 3.246e-06/0.8022, allocations: 0 / 0.7879 GB, free: 48.77 MB / 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.004025/0.8062, allocations: 0.7923 MB / 0.7887 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.8063, allocations: 54.03 kB / 0.7887 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.8064, allocations: 110.3 kB / 0.7889 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.8065, allocations: 29.89 kB / 0.7889 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.091e-05/0.8065, allocations: 82.7 kB / 0.789 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.028e-05/0.8066, allocations: 33.34 kB / 0.789 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.885e-05/0.8066, allocations: 30.91 kB / 0.789 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.115e-05/0.8067, allocations: 316.3 kB / 0.7893 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000414/0.8071, allocations: 94.61 kB / 0.7894 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000418/0.8076, allocations: 102.2 kB / 0.7895 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007796/0.8084, allocations: 194.9 kB / 0.7897 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.8084, allocations: 0 / 0.7897 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008577/0.8092, allocations: 240.1 kB / 0.7899 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.8093, allocations: 8.984 kB / 0.7899 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.8093, allocations: 3.938 kB / 0.7899 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/0.8093, allocations: 2.625 kB / 0.7899 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003259/0.8096, allocations: 54.28 kB / 0.79 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.8097, allocations: 0 / 0.79 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.8099, allocations: 38.19 kB / 0.79 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.8099, allocations: 4.25 kB / 0.79 GB, free: 48.05 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.373e-05/0.81, allocations: 119.3 kB / 0.7901 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.81, allocations: 2.625 kB / 0.7901 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.085e-05/0.8101, allocations: 20.92 kB / 0.7902 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.8101, allocations: 0 / 0.7902 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.8101, allocations: 2.625 kB / 0.7902 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.8101, allocations: 0 / 0.7902 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.8116, allocations: 0.5978 MB / 0.7908 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.8117, allocations: 0 / 0.7908 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002428/0.8119, allocations: 57.55 kB / 0.7908 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.8119, allocations: 0 / 0.7908 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.8119, allocations: 8.672 kB / 0.7908 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.8119, allocations: 2.625 kB / 0.7908 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.812, allocations: 2.719 kB / 0.7908 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009005/0.8129, allocations: 348.6 kB / 0.7912 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.846e-05/0.8129, allocations: 82.97 kB / 0.7912 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.8129, allocations: 3.75 kB / 0.7912 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.8132, allocations: 37.12 kB / 0.7913 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.8132, allocations: 14.7 kB / 0.7913 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.8132, allocations: 5.953 kB / 0.7913 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.859e-05/0.8133, allocations: 90.8 kB / 0.7914 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8133, allocations: 0 / 0.7914 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003011/0.8136, allocations: 35.69 kB / 0.7914 GB, free: 47.26 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.0002397/0.8138, allocations: 138.6 kB / 0.7915 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009066/0.8148, allocations: 211.7 kB / 0.7917 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.8148, allocations: 0 / 0.7917 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004228/0.8152, allocations: 112.8 kB / 0.7919 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.8155, allocations: 11.36 kB / 0.7919 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.8169, allocations: 423.8 kB / 0.7923 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.8171, allocations: 0.692 MB / 0.7929 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.288e-05/0.8171, allocations: 17.28 kB / 0.793 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of SimCode: time 1.814e-06/0.8172, allocations: 0 / 0.793 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of Templates: time 0.004009/0.8212, allocations: 1.431 MB / 0.7944 GB, free: 46.19 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)