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.0008036/0.0008036, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009643/0.0009644, allocations: 168.7 kB / 15.95 MB, free: 204 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.63/1.63, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.848/1.848, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005778/0.0005781, allocations: 19.34 kB / 0.6737 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3198, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001215/0.321, allocations: 0.5047 MB / 0.7878 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002058/0.3231, allocations: 1.445 MB / 0.7892 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.41e-05/0.3232, allocations: 0 / 0.7892 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.091e-05/0.3232, allocations: 4 kB / 0.7892 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.318e-05/0.3233, allocations: 3.938 kB / 0.7892 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005298/0.3238, allocations: 110.5 kB / 0.7893 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.698e-05/0.3239, allocations: 47.89 kB / 0.7894 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.402e-05/0.324, allocations: 0 / 0.7894 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.372e-05/0.3241, allocations: 23.92 kB / 0.7894 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.262e-05/0.3242, allocations: 43.77 kB / 0.7894 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.3242, allocations: 4 kB / 0.7894 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004644/0.3247, allocations: 303.4 kB / 0.7897 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.007e-05/0.3247, allocations: 11.97 kB / 0.7897 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.131e-05/0.3247, allocations: 33.64 kB / 0.7898 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.325, allocations: 160 kB / 0.7899 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/0.325, allocations: 0 / 0.7899 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.783e-06/0.325, allocations: 3.938 kB / 0.7899 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.325, allocations: 4 kB / 0.7899 GB, free: 9.238 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.0006866/0.3257, allocations: 383.2 kB / 0.7903 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.3258, allocations: 12.02 kB / 0.7903 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004417/0.3262, allocations: 87.83 kB / 0.7904 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.3264, allocations: 167 kB / 0.7905 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.3264, allocations: 8 kB / 0.7905 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.3265, allocations: 8 kB / 0.7906 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003632/0.3268, allocations: 113.6 kB / 0.7907 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.3269, allocations: 7.938 kB / 0.7907 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.3269, allocations: 0 / 0.7907 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.3269, allocations: 0 / 0.7907 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004318/0.3273, allocations: 127.9 kB / 0.7908 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006583/0.328, allocations: 336.6 kB / 0.7911 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006027/0.3286, allocations: 190.4 kB / 0.7913 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/0.3288, allocations: 68.81 kB / 0.7914 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.3289, allocations: 160 / 0.7914 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.3289, allocations: 38.55 kB / 0.7914 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.3289, allocations: 0 / 0.7914 GB, free: 7.559 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.01576/0.3447, allocations: 3.186 MB / 0.7945 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.3448, allocations: 51.41 kB / 0.7946 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.766e-05/0.3448, allocations: 101.8 kB / 0.7947 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.146e-05/0.3449, allocations: 33.7 kB / 0.7947 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.345e-05/0.345, allocations: 88.08 kB / 0.7948 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.02e-05/0.345, allocations: 39.45 kB / 0.7948 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.3451, allocations: 0 / 0.7948 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.3452, allocations: 318.8 kB / 0.7951 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006163/0.3458, allocations: 215.8 kB / 0.7953 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006075/0.3465, allocations: 211.8 kB / 0.7955 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006341/0.3471, allocations: 224 kB / 0.7957 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.3471, allocations: 96 / 0.7957 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001482/0.3486, allocations: 0.5258 MB / 0.7962 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.3486, allocations: 7.984 kB / 0.7963 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.3487, allocations: 0 / 0.7963 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.3487, allocations: 0 / 0.7963 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007618/0.3495, allocations: 119.7 kB / 0.7964 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.3495, allocations: 4.391 kB / 0.7964 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005121/0.35, allocations: 59.94 kB / 0.7964 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.858e-05/0.3501, allocations: 23.92 kB / 0.7965 GB, free: 2.238 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.0001845/0.3503, allocations: 117.8 kB / 0.7966 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.217e-05/0.3503, allocations: 15.8 kB / 0.7966 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.043e-05/0.3504, allocations: 11.97 kB / 0.7966 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.3504, allocations: 4 kB / 0.7966 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3504, allocations: 0 / 0.7966 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.3504, allocations: 3.984 kB / 0.7966 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002142/0.3526, allocations: 1.101 MB / 0.7977 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.3526, allocations: 0 / 0.7977 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007369/0.3533, allocations: 119.8 kB / 0.7978 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.3534, allocations: 0 / 0.7978 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.504e-05/0.3534, allocations: 27.92 kB / 0.7978 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.3534, allocations: 0 / 0.7978 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3534, allocations: 7.938 kB / 0.7978 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002188/0.3556, allocations: 0.8659 MB / 0.7987 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.3558, allocations: 117 kB / 0.7988 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.684e-05/0.3559, allocations: 4 kB / 0.7988 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005852/0.3565, allocations: 60 kB / 0.7988 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.799e-05/0.3565, allocations: 23.92 kB / 0.7989 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.747e-05/0.3566, allocations: 27.94 kB / 0.7989 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.009e-05/0.3567, allocations: 83.27 kB / 0.799 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3567, allocations: 0 / 0.799 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004077/0.3571, allocations: 56 kB / 0.799 GB, free: 15.44 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.0002491/0.3573, allocations: 107.6 kB / 0.7991 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001439/0.3588, allocations: 475.4 kB / 0.7996 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3588, allocations: 4 kB / 0.7996 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006757/0.3595, allocations: 255.7 kB / 0.7998 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.3599, allocations: 11.95 kB / 0.7998 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003795/0.3637, allocations: 0.8617 MB / 0.8007 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.364, allocations: 0.7043 MB / 0.8014 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007335/0.3647, allocations: 92.66 kB / 0.8015 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002428/0.365, allocations: 55.3 kB / 0.8015 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of SimCode: time 7.22e-07/0.365, allocations: 3.938 kB / 0.8015 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of Templates: time 0.007093/0.3721, allocations: 3.251 MB / 0.8047 GB, free: 9.578 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: