Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009123/0.0009122, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009765/0.0009765, allocations: 177.3 kB / 15.95 MB, free: 216 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.636/1.636, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.886/1.886, allocations: 292.5 MB / 0.5497 GB, free: 14.65 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.0005218/0.0005219, allocations: 18.78 kB / 0.6736 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2471, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.000945/0.248, allocations: 0.5008 MB / 0.7876 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001644/0.2497, allocations: 1.453 MB / 0.789 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.296e-05/0.2497, allocations: 0 / 0.789 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.025e-05/0.2498, allocations: 7.922 kB / 0.789 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.014e-05/0.2498, allocations: 0 / 0.789 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.2502, allocations: 115.7 kB / 0.7891 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.53e-05/0.2503, allocations: 23.97 kB / 0.7892 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.027e-05/0.2503, allocations: 4 kB / 0.7892 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.195e-05/0.2504, allocations: 27.91 kB / 0.7892 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.891e-05/0.2505, allocations: 31.84 kB / 0.7892 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.2505, allocations: 4 kB / 0.7892 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004058/0.2509, allocations: 315.5 kB / 0.7895 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.2509, allocations: 11.94 kB / 0.7895 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.786e-05/0.251, allocations: 29.7 kB / 0.7896 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.2512, allocations: 164 kB / 0.7897 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2512, allocations: 0 / 0.7897 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2512, allocations: 0 / 0.7897 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2513, allocations: 0 / 0.7897 GB, free: 9.277 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005942/0.2519, allocations: 391.2 kB / 0.7901 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.2519, allocations: 8.031 kB / 0.7901 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004326/0.2523, allocations: 91.81 kB / 0.7902 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.2525, allocations: 171 kB / 0.7904 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.2525, allocations: 8 kB / 0.7904 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.2525, allocations: 4 kB / 0.7904 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003788/0.2529, allocations: 117.6 kB / 0.7905 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.2529, allocations: 0 / 0.7905 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.253, allocations: 4 kB / 0.7905 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.253, allocations: 0 / 0.7905 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007022/0.2537, allocations: 127.9 kB / 0.7906 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007597/0.2545, allocations: 348.5 kB / 0.7909 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009208/0.2554, allocations: 178.5 kB / 0.7911 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.2554, allocations: 0 / 0.7911 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.2555, allocations: 30.56 kB / 0.7911 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.2555, allocations: 3.938 kB / 0.7911 GB, free: 7.664 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=11): time 0.01804/0.2735, allocations: 3.193 MB / 0.7943 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.2736, allocations: 51.41 kB / 0.7943 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.939e-05/0.2737, allocations: 109.8 kB / 0.7944 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.058e-05/0.2737, allocations: 25.7 kB / 0.7944 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.87e-05/0.2738, allocations: 88.02 kB / 0.7945 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.247e-05/0.2739, allocations: 39.45 kB / 0.7946 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.2739, allocations: 4 kB / 0.7946 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.576e-05/0.274, allocations: 314.8 kB / 0.7949 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006442/0.2747, allocations: 215.8 kB / 0.7951 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006207/0.2753, allocations: 222.3 kB / 0.7953 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006519/0.276, allocations: 220 kB / 0.7955 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.276, allocations: 0 / 0.7955 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001622/0.2776, allocations: 0.5244 MB / 0.796 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.2776, allocations: 7.953 kB / 0.796 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.2776, allocations: 0 / 0.796 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.2777, allocations: 192 / 0.796 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008026/0.2785, allocations: 119.8 kB / 0.7961 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.2785, allocations: 4 kB / 0.7961 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005832/0.2791, allocations: 55.94 kB / 0.7962 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.499e-05/0.2791, allocations: 27.92 kB / 0.7962 GB, free: 2.332 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 (13): * Single equations (assignments): 13 * 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 0.00025/0.2794, allocations: 115.9 kB / 0.7963 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.571e-05/0.2795, allocations: 15.83 kB / 0.7963 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.899e-05/0.2795, allocations: 15.92 kB / 0.7964 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.2795, allocations: 4 kB / 0.7964 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.2796, allocations: 4 kB / 0.7964 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.2796, allocations: 3.984 kB / 0.7964 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002304/0.2819, allocations: 1.097 MB / 0.7974 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2819, allocations: 0 / 0.7974 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008196/0.2827, allocations: 123.7 kB / 0.7976 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2827, allocations: 0 / 0.7976 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.278e-05/0.2828, allocations: 31.92 kB / 0.7976 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2828, allocations: 0 / 0.7976 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2828, allocations: 0 / 0.7976 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002371/0.2852, allocations: 0.87 MB / 0.7984 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.2853, allocations: 117 kB / 0.7986 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.797e-05/0.2854, allocations: 4 kB / 0.7986 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007111/0.2861, allocations: 60.09 kB / 0.7986 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.016e-05/0.2862, allocations: 27.86 kB / 0.7986 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.416e-05/0.2863, allocations: 27.94 kB / 0.7987 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 3.673e-05/0.2863, allocations: 83.27 kB / 0.7987 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.2863, allocations: 0 / 0.7987 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004288/0.2868, allocations: 56 kB / 0.7988 GB, free: 15.52 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002056/0.287, allocations: 111.2 kB / 0.7989 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001415/0.2884, allocations: 476.8 kB / 0.7994 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2884, allocations: 0 / 0.7994 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007053/0.2891, allocations: 251.7 kB / 0.7996 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.2894, allocations: 4 kB / 0.7996 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004045/0.2934, allocations: 0.8772 MB / 0.8005 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.2938, allocations: 0.6965 MB / 0.8011 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006343/0.2944, allocations: 92.66 kB / 0.8012 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002422/0.2946, allocations: 55.3 kB / 0.8013 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of SimCode: time 2.6e-07/0.2946, allocations: 0 / 0.8013 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of Templates: time 0.005927/0.3006, allocations: 3.24 MB / 0.8044 GB, free: 9.684 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) Environment - environmentSimulation: