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.001099/0.001099, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 197 kB / 16.53 MB, free: 6.664 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.135/1.135, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.484/1.484, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001327/0.001327, allocations: 74.64 kB / 0.6715 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1745, allocations: 114.5 MB / 0.7834 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001727/0.1763, allocations: 0.7892 MB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.1778, allocations: 1.515 MB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.405e-05/0.1778, allocations: 0 / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.941e-05/0.1778, allocations: 3.938 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.373e-05/0.1779, allocations: 3.938 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003812/0.1782, allocations: 142.6 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.145e-05/0.1783, allocations: 51.89 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.169e-05/0.1784, allocations: 4 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.279e-05/0.1784, allocations: 23.92 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.057e-05/0.1785, allocations: 39.83 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.1785, allocations: 4 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003668/0.1789, allocations: 315.4 kB / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.701e-05/0.1789, allocations: 19.91 kB / 0.7862 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.907e-05/0.1789, allocations: 31.86 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.1792, allocations: 207.8 kB / 0.7864 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1792, allocations: 3.938 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.51e-07/0.1792, allocations: 3.938 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.1792, allocations: 0 / 0.7864 GB, free: 10.34 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.0005233/0.1797, allocations: 399.4 kB / 0.7868 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.1798, allocations: 8.031 kB / 0.7868 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004202/0.1802, allocations: 76.75 kB / 0.7869 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.362e-05/0.1803, allocations: 168.4 kB / 0.7871 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.1803, allocations: 8.375 kB / 0.7871 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.1803, allocations: 12.38 kB / 0.7871 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003248/0.1807, allocations: 109.9 kB / 0.7872 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.1807, allocations: 0 / 0.7872 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1807, allocations: 0 / 0.7872 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/0.1807, allocations: 4 kB / 0.7872 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004473/0.1812, allocations: 103.8 kB / 0.7873 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000455/0.1816, allocations: 344.5 kB / 0.7876 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005994/0.1822, allocations: 158.4 kB / 0.7878 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.1825, allocations: 52.8 kB / 0.7878 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.1825, allocations: 4 kB / 0.7878 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.1825, allocations: 34.56 kB / 0.7879 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.1825, allocations: 4 kB / 0.7879 GB, free: 8.723 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.01668/0.1992, allocations: 2.822 MB / 0.7906 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.1992, allocations: 63.34 kB / 0.7907 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.924e-05/0.1993, allocations: 93.86 kB / 0.7908 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/0.1994, allocations: 29.7 kB / 0.7908 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.425e-05/0.1994, allocations: 95.97 kB / 0.7909 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.304e-05/0.1995, allocations: 47.38 kB / 0.7909 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.1996, allocations: 69.58 kB / 0.791 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.554e-05/0.1997, allocations: 314.8 kB / 0.7913 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006096/0.2003, allocations: 187.8 kB / 0.7915 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006019/0.2009, allocations: 195.8 kB / 0.7917 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.2022, allocations: 392.5 kB / 0.792 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.2022, allocations: 96 / 0.792 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001417/0.2036, allocations: 483.8 kB / 0.7925 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.2036, allocations: 4 kB / 0.7925 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.2036, allocations: 0 / 0.7925 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.2036, allocations: 0 / 0.7925 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007537/0.2044, allocations: 111.7 kB / 0.7926 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.2044, allocations: 7.875 kB / 0.7926 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000572/0.205, allocations: 47.94 kB / 0.7927 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.838e-05/0.2051, allocations: 23.92 kB / 0.7927 GB, free: 3.629 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001167/0.2052, allocations: 118.5 kB / 0.7928 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.764e-05/0.2053, allocations: 7.906 kB / 0.7928 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.372e-05/0.2053, allocations: 11.97 kB / 0.7928 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.2053, allocations: 0 / 0.7928 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.2053, allocations: 7.938 kB / 0.7928 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.2053, allocations: 0 / 0.7928 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/0.2073, allocations: 1.043 MB / 0.7938 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2073, allocations: 0 / 0.7938 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007571/0.208, allocations: 103.9 kB / 0.7939 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.2081, allocations: 11.94 kB / 0.794 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.342e-05/0.2081, allocations: 19.94 kB / 0.794 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.2081, allocations: 4 kB / 0.794 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.2081, allocations: 8.984 kB / 0.794 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002101/0.2102, allocations: 0.7917 MB / 0.7948 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.2104, allocations: 116.9 kB / 0.7949 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.356e-05/0.2104, allocations: 11.98 kB / 0.7949 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000625/0.2111, allocations: 44 kB / 0.7949 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.861e-05/0.2112, allocations: 27.92 kB / 0.795 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.567e-05/0.2112, allocations: 23.94 kB / 0.795 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.033e-05/0.2112, allocations: 79.28 kB / 0.795 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2112, allocations: 7.938 kB / 0.7951 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003312/0.2116, allocations: 52 kB / 0.7951 GB, free: 0.9883 MB / 0.6075 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 (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.0001613/0.2117, allocations: 115.2 kB / 0.7952 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001356/0.2131, allocations: 431.5 kB / 0.7956 GB, free: 456 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2131, allocations: 0 / 0.7956 GB, free: 456 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006819/0.2138, allocations: 223.7 kB / 0.7958 GB, free: 232 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.2141, allocations: 14.44 kB / 0.7959 GB, free: 220 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003896/0.218, allocations: 0.7557 MB / 0.7966 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/0.2182, allocations: 0.6924 MB / 0.7973 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000589/0.2188, allocations: 88.67 kB / 0.7974 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002257/0.2191, allocations: 59.3 kB / 0.7974 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.2191, allocations: 3.938 kB / 0.7974 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of Templates: time 0.005161/0.2242, allocations: 3.468 MB / 0.8008 GB, free: 11.09 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (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)